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.0008352/0.0008352, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005219/0.005219, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8548/0.8548, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 11.98 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 83.41 MB / 0.598 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002468/0.1373, allocations: 1.644 MB / 0.5996 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1387, allocations: 0.7015 MB / 0.6003 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1388, allocations: 7.938 kB / 0.6003 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.139, allocations: 75.75 kB / 0.6003 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1391, allocations: 91.69 kB / 0.6004 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1396, allocations: 150.2 kB / 0.6006 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1399, allocations: 231.5 kB / 0.6008 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.14, allocations: 70.09 kB / 0.6009 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1401, allocations: 91.61 kB / 0.6009 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1403, allocations: 139.5 kB / 0.6011 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1403, allocations: 8 kB / 0.6011 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1405, allocations: 79.86 kB / 0.6012 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.1405, allocations: 39.84 kB / 0.6012 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.1406, allocations: 113 kB / 0.6013 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1409, allocations: 287.1 kB / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1409, allocations: 0 / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1409, allocations: 0 / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1409, allocations: 0 / 0.6016 GB, free: 3.855 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.000689/0.1416, allocations: 0.547 MB / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1417, allocations: 8.031 kB / 0.6021 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.1417, allocations: 58.61 kB / 0.6022 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.1418, allocations: 36.56 kB / 0.6022 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1422, allocations: 298.9 kB / 0.6025 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1422, allocations: 16.36 kB / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1422, allocations: 12.38 kB / 0.6025 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1426, allocations: 231.7 kB / 0.6027 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1426, allocations: 0 / 0.6027 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1427, allocations: 4 kB / 0.6028 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1427, allocations: 4 kB / 0.6028 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1429, allocations: 140.3 kB / 0.6029 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.1437, allocations: 0.6923 MB / 0.6036 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.144, allocations: 174.5 kB / 0.6037 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.1442, allocations: 105 kB / 0.6038 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1442, allocations: 3.938 kB / 0.6038 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.1445, allocations: 179.3 kB / 0.604 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.1445, allocations: 4 kB / 0.604 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006268/0.1452, allocations: 375 kB / 0.6044 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.1452, allocations: 132.5 kB / 0.6045 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1455, allocations: 298.5 kB / 0.6048 GB, free: 328 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1455, allocations: 25.7 kB / 0.6048 GB, free: 296 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1456, allocations: 160.2 kB / 0.605 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1457, allocations: 35.45 kB / 0.605 GB, free: 96 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1457, allocations: 29.7 kB / 0.605 GB, free: 60 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2469/0.3926, allocations: 338.3 kB / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.393, allocations: 88.28 kB / 0.6054 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3932, allocations: 135 kB / 0.6056 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3935, allocations: 247.5 kB / 0.6058 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3935, allocations: 3.375 kB / 0.6058 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005306/0.3941, allocations: 344.4 kB / 0.6061 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.3941, allocations: 37.55 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3941, allocations: 0.7188 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3942, allocations: 6.969 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3943, allocations: 31.67 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3943, allocations: 2.688 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3944, allocations: 29.17 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3945, allocations: 9.25 kB / 0.6062 GB, free: 40.12 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.000177/0.3947, allocations: 192.4 kB / 0.6064 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3947, allocations: 25.56 kB / 0.6064 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.3948, allocations: 33.75 kB / 0.6065 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3948, allocations: 5.656 kB / 0.6065 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3948, allocations: 0 / 0.6065 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3948, allocations: 0 / 0.6065 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.395, allocations: 295.4 kB / 0.6068 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.395, allocations: 0.5 kB / 0.6068 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.3951, allocations: 18.12 kB / 0.6068 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3951, allocations: 3.812 kB / 0.6068 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3951, allocations: 14.11 kB / 0.6068 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3951, allocations: 1.656 kB / 0.6068 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3951, allocations: 0 / 0.6068 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.3958, allocations: 469.7 kB / 0.6072 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.3958, allocations: 106.8 kB / 0.6073 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.3959, allocations: 14.81 kB / 0.6074 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.396, allocations: 17.72 kB / 0.6074 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.3961, allocations: 25.52 kB / 0.6074 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3961, allocations: 9.812 kB / 0.6074 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001451/0.3962, allocations: 205.2 kB / 0.6076 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3962, allocations: 0 / 0.6076 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002693/0.3965, allocations: 52.16 kB / 0.6077 GB, free: 39.52 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.0008266/0.3973, allocations: 1.037 MB / 0.6087 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.3978, allocations: 309.8 kB / 0.609 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3978, allocations: 0 / 0.609 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.398, allocations: 185.8 kB / 0.6091 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3983, allocations: 37.94 kB / 0.6092 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4011, allocations: 2.845 MB / 0.612 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.4013, allocations: 0.7579 MB / 0.6127 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.406e-05/0.4014, allocations: 20.38 kB / 0.6127 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4015, allocations: 71.33 kB / 0.6128 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4015, allocations: 0 / 0.6128 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.4182, allocations: 4.88 MB / 0.6176 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.4184, allocations: 207.4 kB / 0.6177 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.077, allocations: 4.266 kB / 0.6178 GB, free: 36.12 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)