Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 105.2 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.06/2.06, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2266, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00327/0.2299, allocations: 1.965 MB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2312, allocations: 0.745 MB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.2314, allocations: 4 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.2317, allocations: 87.64 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2318, allocations: 91.56 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.2324, allocations: 182.3 kB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3633/0.5957, allocations: 267.8 kB / 0.788 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.5959, allocations: 65.78 kB / 0.7881 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.5961, allocations: 121.1 kB / 0.7882 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.5963, allocations: 148.1 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.5963, allocations: 19.97 kB / 0.7884 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.5965, allocations: 96.62 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.5966, allocations: 57.19 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.5967, allocations: 109 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.597, allocations: 312.4 kB / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.597, allocations: 0 / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.597, allocations: 0 / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.597, allocations: 0 / 0.7889 GB, free: 46.45 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007158/0.5977, allocations: 0.5807 MB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5978, allocations: 7.875 kB / 0.7895 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.5978, allocations: 33.25 kB / 0.7895 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.5983, allocations: 304.7 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.5983, allocations: 14.75 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.5984, allocations: 12.38 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.5987, allocations: 226.4 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5987, allocations: 0 / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5988, allocations: 6.391 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5988, allocations: 3.812 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.599, allocations: 131.6 kB / 0.7902 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.5997, allocations: 0.675 MB / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.6, allocations: 167.8 kB / 0.791 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.6001, allocations: 106.9 kB / 0.7911 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.6002, allocations: 1.969 kB / 0.7911 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.6004, allocations: 170.8 kB / 0.7913 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.6004, allocations: 2.344 kB / 0.7913 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0005901/0.601, allocations: 383.2 kB / 0.7916 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6011, allocations: 134.4 kB / 0.7918 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.6013, allocations: 281 kB / 0.792 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.6013, allocations: 29.83 kB / 0.7921 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.6014, allocations: 159 kB / 0.7922 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.6014, allocations: 39.58 kB / 0.7923 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.6015, allocations: 44.86 kB / 0.7923 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.6016, allocations: 339.9 kB / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.6017, allocations: 86.34 kB / 0.7927 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.6019, allocations: 130.6 kB / 0.7928 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.6022, allocations: 242.6 kB / 0.7931 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6022, allocations: 0 / 0.7931 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004257/0.6026, allocations: 343.2 kB / 0.7934 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6026, allocations: 35.28 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6027, allocations: 3.375 kB / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6027, allocations: 0 / 0.7934 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6028, allocations: 24.58 kB / 0.7935 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6028, allocations: 3.469 kB / 0.7935 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.6029, allocations: 21.33 kB / 0.7935 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.603, allocations: 10 kB / 0.7935 GB, free: 44.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.6031, allocations: 196.1 kB / 0.7937 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.6031, allocations: 32.61 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.6032, allocations: 29.98 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6032, allocations: 2.625 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6032, allocations: 0 / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.6032, allocations: 99.7 kB / 0.7938 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.6033, allocations: 7.656 kB / 0.7938 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.6034, allocations: 18.89 kB / 0.7939 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.6035, allocations: 26.39 kB / 0.7939 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006535/0.6041, allocations: 491.7 kB / 0.7943 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006203/0.6048, allocations: 0.5986 MB / 0.7949 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001609/0.6049, allocations: 128.9 kB / 0.7951 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001336/0.6051, allocations: 208 kB / 0.7953 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of Backend: time 3.61e-07/0.6051, allocations: 0 / 0.7953 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006204/0.6057, allocations: 304.8 kB / 0.7955 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007152/0.6065, allocations: 0.9141 MB / 0.7964 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.006171/0.6126, allocations: 3.032 MB / 0.7994 GB, free: 42.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)