Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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.00106/0.00106, allocations: 103.2 kB / 16.4 MB, free: 6.496 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.001006/0.001006, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7076/0.7076, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.27 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001823/0.1413, allocations: 0.5188 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.1419, allocations: 327.3 kB / 0.6324 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.142, allocations: 0 / 0.6324 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.142, allocations: 0 / 0.6324 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.1421, allocations: 0 / 0.6324 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1426, allocations: 103.6 kB / 0.6325 GB, free: 4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.1426, allocations: 8 kB / 0.6325 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1427, allocations: 8 kB / 0.6325 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.1427, allocations: 15.91 kB / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1428, allocations: 0 / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1428, allocations: 0 / 0.6325 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1432, allocations: 187.8 kB / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1432, allocations: 0 / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.1432, allocations: 15.91 kB / 0.6327 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1434, allocations: 83.8 kB / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1435, allocations: 0 / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1435, allocations: 0 / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1435, allocations: 0 / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004899/0.144, allocations: 346.3 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.144, allocations: 12.03 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1441, allocations: 30.75 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1441, allocations: 4.844 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1443, allocations: 164.4 kB / 0.6333 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1443, allocations: 4.375 kB / 0.6333 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1443, allocations: 4.359 kB / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1444, allocations: 34.27 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1445, allocations: 7.938 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1445, allocations: 0 / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1445, allocations: 4 kB / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.1445, allocations: 0 / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1447, allocations: 157.6 kB / 0.6335 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.1447, allocations: 22.59 kB / 0.6336 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.1448, allocations: 12.91 kB / 0.6336 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.1454, allocations: 0.5778 MB / 0.6341 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1454, allocations: 34.56 kB / 0.6342 GB, free: 1.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.1454, allocations: 0 / 0.6342 GB, free: 1.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.146, allocations: 258.4 kB / 0.6344 GB, free: 1.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.146, allocations: 55.41 kB / 0.6345 GB, free: 1.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.1461, allocations: 89.86 kB / 0.6346 GB, free: 1.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1461, allocations: 29.7 kB / 0.6346 GB, free: 1.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1462, allocations: 84.14 kB / 0.6347 GB, free: 1.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1462, allocations: 12.67 kB / 0.6347 GB, free: 1.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1462, allocations: 17.72 kB / 0.6347 GB, free: 1.363 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1464, allocations: 314.9 kB / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.1464, allocations: 7.938 kB / 0.635 GB, free: 1.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.1465, allocations: 25.7 kB / 0.635 GB, free: 1.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.1465, allocations: 21.72 kB / 0.635 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1465, allocations: 0 / 0.635 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.651e-05/0.1466, allocations: 61.47 kB / 0.6351 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1467, allocations: 13.56 kB / 0.6351 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1467, allocations: 4 kB / 0.6351 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1467, allocations: 0 / 0.6351 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.1467, allocations: 4 kB / 0.6351 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1468, allocations: 4 kB / 0.6351 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.1468, allocations: 0 / 0.6351 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1468, allocations: 0 / 0.6351 GB, free: 0.8906 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.000143/0.1469, allocations: 121.8 kB / 0.6352 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1469, allocations: 3.938 kB / 0.6353 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1471, allocations: 57.12 kB / 0.6353 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1471, allocations: 0 / 0.6353 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1471, allocations: 4 kB / 0.6353 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1471, allocations: 0 / 0.6353 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1473, allocations: 153.7 kB / 0.6355 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1473, allocations: 0 / 0.6355 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.1473, allocations: 4 kB / 0.6355 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1473, allocations: 7.922 kB / 0.6355 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1474, allocations: 0 / 0.6355 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1474, allocations: 4 kB / 0.6355 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1474, allocations: 4 kB / 0.6355 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1475, allocations: 77.06 kB / 0.6355 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.1476, allocations: 81.47 kB / 0.6356 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1476, allocations: 4.031 kB / 0.6356 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.1476, allocations: 4 kB / 0.6356 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1477, allocations: 3.984 kB / 0.6356 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1477, allocations: 0 / 0.6356 GB, free: 272 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.1477, allocations: 91.33 kB / 0.6357 GB, free: 180 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 0.6357 GB, free: 180 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.148, allocations: 28 kB / 0.6358 GB, free: 152 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0004993/0.1485, allocations: 0.6476 MB / 0.6364 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1486, allocations: 16 kB / 0.6364 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1486, allocations: 4.188 kB / 0.6364 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.1486, allocations: 4 kB / 0.6364 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.1488, allocations: 19.86 kB / 0.6364 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1499, allocations: 1.131 MB / 0.6375 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1503, allocations: 0.6768 MB / 0.6382 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.1504, allocations: 4 kB / 0.6382 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1504, allocations: 11.44 kB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1504, allocations: 4 kB / 0.6382 GB, free: 13.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.1721, allocations: 2.097 MB / 0.6403 GB, free: 11.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.361, allocations: 9.141 kB / 0.6403 GB, free: 11.52 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)