Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002766/0.002766, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.328/1.328, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.692/2.692, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 98.8 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 6.243e-05/6.218e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9413/0.9414, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/1.182, allocations: 110.4 MB / 0.7417 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004848/1.183, allocations: 79.94 kB / 0.7418 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009965/1.193, allocations: 1.809 MB / 0.7436 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.469e-06/1.193, allocations: 0 / 0.7436 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.803e-05/1.193, allocations: 4 kB / 0.7436 GB, free: 10.43 MB / 0.5261 GB 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.0008064/1.194, allocations: 338.4 kB / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001059/1.194, allocations: 12.03 kB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/1.194, allocations: 0 / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/1.195, allocations: 170.9 kB / 0.7441 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/1.195, allocations: 4 kB / 0.7441 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/1.195, allocations: 4 kB / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.126e-05/1.195, allocations: 0 / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.195, allocations: 33.7 kB / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.195, allocations: 0 / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/1.195, allocations: 0 / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.195, allocations: 0 / 0.7441 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/1.196, allocations: 138.1 kB / 0.7442 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.196, allocations: 30.56 kB / 0.7443 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/1.196, allocations: 8.922 kB / 0.7443 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.197, allocations: 0.5817 MB / 0.7448 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/1.197, allocations: 34.56 kB / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/1.197, allocations: 0 / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.001073/1.198, allocations: 246.3 kB / 0.7451 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.198, allocations: 51.41 kB / 0.7452 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.198, allocations: 89 kB / 0.7452 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/1.198, allocations: 25.7 kB / 0.7453 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/1.198, allocations: 92.25 kB / 0.7453 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/1.198, allocations: 7.906 kB / 0.7454 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.198, allocations: 0 / 0.7454 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002603/1.199, allocations: 310.8 kB / 0.7457 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/1.199, allocations: 8 kB / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/1.199, allocations: 13.95 kB / 0.7457 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/1.199, allocations: 7.984 kB / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.199, allocations: 0 / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/1.199, allocations: 57.69 kB / 0.7457 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.199, allocations: 7.938 kB / 0.7457 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.199, allocations: 4 kB / 0.7457 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/1.199, allocations: 7.984 kB / 0.7458 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/1.199, allocations: 7.984 kB / 0.7458 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.199, allocations: 4 kB / 0.7458 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/1.199, allocations: 0 / 0.7458 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.199, allocations: 0 / 0.7458 GB, free: 7.785 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/1.2, allocations: 110.9 kB / 0.7459 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001622/1.2, allocations: 53.55 kB / 0.7459 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/1.2, allocations: 4 kB / 0.7459 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/1.2, allocations: 53.8 kB / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.2, allocations: 0 / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.2, allocations: 0 / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.2, allocations: 0 / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/1.2, allocations: 130.2 kB / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.2, allocations: 0 / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.2, allocations: 19.88 kB / 0.7461 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.2, allocations: 7.938 kB / 0.7461 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.2, allocations: 0 / 0.7461 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.2, allocations: 0 / 0.7461 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.2, allocations: 0 / 0.7461 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/1.201, allocations: 73.12 kB / 0.7462 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/1.201, allocations: 81.14 kB / 0.7463 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.201, allocations: 3.953 kB / 0.7463 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/1.201, allocations: 0 / 0.7463 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/1.201, allocations: 8.047 kB / 0.7463 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.201, allocations: 4 kB / 0.7463 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.841e-05/1.201, allocations: 79.28 kB / 0.7464 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.201, allocations: 0 / 0.7464 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000477/1.202, allocations: 35.94 kB / 0.7464 GB, free: 7.043 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/1.203, allocations: 0.6475 MB / 0.747 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.203, allocations: 11.98 kB / 0.747 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.203, allocations: 0 / 0.747 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/1.203, allocations: 11.94 kB / 0.7471 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/1.203, allocations: 3.953 kB / 0.7471 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/1.204, allocations: 119.6 kB / 0.7472 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/1.205, allocations: 0.6888 MB / 0.7478 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.759e-05/1.205, allocations: 8.125 kB / 0.7479 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/1.205, allocations: 11.44 kB / 0.7479 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/1.205, allocations: 3.938 kB / 0.7479 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/1.261, allocations: 1.425 MB / 0.7493 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004454/1.262, allocations: 155.9 kB / 0.7494 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/4.178, allocations: 0 / 0.7494 GB, free: 3.844 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)