Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001388/0.001388, allocations: 197 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.859/0.859, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 82.03 MB / 0.5937 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002824/0.13, allocations: 1.995 MB / 0.5957 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1311, allocations: 0.7247 MB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1312, allocations: 0 / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1314, allocations: 79.75 kB / 0.5965 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1316, allocations: 79.7 kB / 0.5965 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.132, allocations: 164.9 kB / 0.5967 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1322, allocations: 243.4 kB / 0.5969 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1324, allocations: 66.11 kB / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1325, allocations: 95.66 kB / 0.5971 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1327, allocations: 139.5 kB / 0.5972 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1327, allocations: 15.94 kB / 0.5972 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1328, allocations: 83.92 kB / 0.5973 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.1329, allocations: 51.81 kB / 0.5974 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.133, allocations: 95.34 kB / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1333, allocations: 295.1 kB / 0.5977 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1333, allocations: 4 kB / 0.5977 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1333, allocations: 0 / 0.5977 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1333, allocations: 0 / 0.5977 GB, free: 5.828 MB / 0.4981 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.0007266/0.1341, allocations: 0.5818 MB / 0.5983 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1341, allocations: 12.03 kB / 0.5983 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.1342, allocations: 46.73 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1342, allocations: 32.56 kB / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1346, allocations: 294.9 kB / 0.5987 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1346, allocations: 12.38 kB / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1347, allocations: 16.38 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.135, allocations: 219.7 kB / 0.5989 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.135, allocations: 3.938 kB / 0.5989 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1351, allocations: 8 kB / 0.5989 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1351, allocations: 4 kB / 0.5989 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1353, allocations: 136.4 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.1361, allocations: 0.6807 MB / 0.5997 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.1364, allocations: 162.5 kB / 0.5999 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1366, allocations: 96.95 kB / 0.6 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1366, allocations: 4.094 kB / 0.6 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.1369, allocations: 181 kB / 0.6001 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.1369, allocations: 0 / 0.6001 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006025/0.1375, allocations: 381.4 kB / 0.6005 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.1376, allocations: 132.5 kB / 0.6006 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1378, allocations: 282.6 kB / 0.6009 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1378, allocations: 33.7 kB / 0.6009 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.1379, allocations: 156.2 kB / 0.6011 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.138, allocations: 39.45 kB / 0.6011 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.138, allocations: 41.7 kB / 0.6012 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1382, allocations: 342.8 kB / 0.6015 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1383, allocations: 79.95 kB / 0.6016 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1385, allocations: 139.9 kB / 0.6017 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1388, allocations: 241.5 kB / 0.6019 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1388, allocations: 0 / 0.6019 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004666/0.1393, allocations: 331 kB / 0.6022 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1393, allocations: 45.62 kB / 0.6023 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1393, allocations: 7.938 kB / 0.6023 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1393, allocations: 0 / 0.6023 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1395, allocations: 23.98 kB / 0.6023 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1395, allocations: 0 / 0.6023 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1396, allocations: 31.92 kB / 0.6023 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1396, allocations: 4 kB / 0.6024 GB, free: 0.7578 MB / 0.4981 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.0001555/0.1398, allocations: 196 kB / 0.6025 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1398, allocations: 27.62 kB / 0.6026 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.1399, allocations: 29.83 kB / 0.6026 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1399, allocations: 7.984 kB / 0.6026 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1399, allocations: 0 / 0.6026 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1399, allocations: 4 kB / 0.6026 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1401, allocations: 293.4 kB / 0.6029 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1401, allocations: 0 / 0.6029 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.1402, allocations: 12 kB / 0.6029 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1402, allocations: 0 / 0.6029 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.1403, allocations: 11.98 kB / 0.6029 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1403, allocations: 3.938 kB / 0.6029 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1403, allocations: 0 / 0.6029 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.194/0.3343, allocations: 465.1 kB / 0.6034 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3343, allocations: 101.8 kB / 0.6035 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.3344, allocations: 7.438 kB / 0.6035 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3345, allocations: 11.83 kB / 0.6035 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.3346, allocations: 27.05 kB / 0.6035 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3346, allocations: 6.125 kB / 0.6035 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001388/0.3347, allocations: 200.7 kB / 0.6037 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3348, allocations: 1.344 kB / 0.6037 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000313/0.3351, allocations: 62.12 kB / 0.6038 GB, free: 44.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0007653/0.3358, allocations: 1.022 MB / 0.6048 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3362, allocations: 292.1 kB / 0.605 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3362, allocations: 1.594 kB / 0.605 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.3364, allocations: 184.8 kB / 0.6052 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3367, allocations: 37.44 kB / 0.6052 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3393, allocations: 2.826 MB / 0.608 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3395, allocations: 0.7455 MB / 0.6087 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.155e-05/0.3396, allocations: 21.08 kB / 0.6088 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.3397, allocations: 77.34 kB / 0.6088 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.3397, allocations: 0 / 0.6088 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3529, allocations: 4.961 MB / 0.6137 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.3531, allocations: 204.2 kB / 0.6139 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.941, allocations: 2.781 kB / 0.6139 GB, free: 40.64 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)