Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.001586/0.001586, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002848/0.002848, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.239/2.239, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.165/1.165, allocations: 132.3 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007094/0.0007096, allocations: 9.125 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.679, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0009041/0.6799, allocations: 262.3 kB / 0.5832 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.6809, allocations: 314.2 kB / 0.5835 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.6809, allocations: 0 / 0.5835 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.6809, allocations: 0 / 0.5835 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.681, allocations: 0 / 0.5835 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.6815, allocations: 66.5 kB / 0.5836 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.6816, allocations: 3.828 kB / 0.5836 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.6816, allocations: 5.547 kB / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.6817, allocations: 3.422 kB / 0.5836 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.6818, allocations: 8.922 kB / 0.5836 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.6818, allocations: 0.7812 kB / 0.5836 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.6824, allocations: 177.6 kB / 0.5838 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.6825, allocations: 6.047 kB / 0.5838 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.6825, allocations: 26.61 kB / 0.5838 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.6827, allocations: 50.72 kB / 0.5838 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6827, allocations: 0 / 0.5838 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6827, allocations: 3.938 kB / 0.5838 GB, free: 3.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.6828, allocations: 0.6562 kB / 0.5839 GB, free: 3.512 MB / 430.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.0004286/0.6832, allocations: 338.8 kB / 0.5842 GB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/0.6833, allocations: 9.312 kB / 0.5842 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.6833, allocations: 32.58 kB / 0.5842 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.6834, allocations: 1 kB / 0.5842 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.6835, allocations: 173.4 kB / 0.5844 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6836, allocations: 1.406 kB / 0.5844 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.6836, allocations: 1.562 kB / 0.5844 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6838, allocations: 35.42 kB / 0.5844 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6838, allocations: 1.156 kB / 0.5844 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6838, allocations: 0 / 0.5844 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.6838, allocations: 1.406 kB / 0.5844 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.6839, allocations: 2.109 kB / 0.5844 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.6841, allocations: 161.3 kB / 0.5846 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.6842, allocations: 24.78 kB / 0.5846 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.685, allocations: 0.5835 MB / 0.5852 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6851, allocations: 32.28 kB / 0.5852 GB, free: 1.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.6851, allocations: 0 / 0.5852 GB, free: 1.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007327/0.6858, allocations: 252.6 kB / 0.5854 GB, free: 1.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6859, allocations: 56.39 kB / 0.5855 GB, free: 1.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.686, allocations: 95.42 kB / 0.5856 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.686, allocations: 30.58 kB / 0.5856 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.686, allocations: 80.8 kB / 0.5857 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.6861, allocations: 15.03 kB / 0.5857 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.6861, allocations: 0 / 0.5857 GB, free: 1.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.6862, allocations: 316.6 kB / 0.586 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.6862, allocations: 9.375 kB / 0.586 GB, free: 1.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.6863, allocations: 15.95 kB / 0.586 GB, free: 1.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.6864, allocations: 13.39 kB / 0.586 GB, free: 1.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6864, allocations: 0 / 0.586 GB, free: 1.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.6865, allocations: 60.53 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6866, allocations: 5.469 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.6866, allocations: 0.9688 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6866, allocations: 0.9062 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.6867, allocations: 6.609 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6867, allocations: 0.7812 kB / 0.5861 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.6868, allocations: 5.594 kB / 0.5861 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6868, allocations: 2.469 kB / 0.5861 GB, free: 0.9883 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.6869, allocations: 119.5 kB / 0.5862 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.6869, allocations: 2.266 kB / 0.5862 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.6871, allocations: 59.28 kB / 0.5863 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6871, allocations: 5.766 kB / 0.5863 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6871, allocations: 4 kB / 0.5863 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6872, allocations: 0.9375 kB / 0.5863 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.6873, allocations: 158.2 kB / 0.5865 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6873, allocations: 0 / 0.5865 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.6874, allocations: 11.06 kB / 0.5865 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6874, allocations: 0 / 0.5865 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6874, allocations: 1.031 kB / 0.5865 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.6874, allocations: 4.547 kB / 0.5865 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6874, allocations: 1.188 kB / 0.5865 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.6876, allocations: 75.08 kB / 0.5865 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.6877, allocations: 86.91 kB / 0.5866 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.6877, allocations: 1.531 kB / 0.5866 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.6878, allocations: 5 kB / 0.5866 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.6878, allocations: 2.25 kB / 0.5866 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6878, allocations: 3.406 kB / 0.5866 GB, free: 436 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.6879, allocations: 80.77 kB / 0.5867 GB, free: 356 kB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6879, allocations: 0 / 0.5867 GB, free: 356 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.6883, allocations: 28.3 kB / 0.5867 GB, free: 352 kB / 430.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 (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.0006495/0.689, allocations: 0.6396 MB / 0.5874 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.6891, allocations: 17.56 kB / 0.5874 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6891, allocations: 0 / 0.5874 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.6892, allocations: 11.2 kB / 0.5874 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.6894, allocations: 8.891 kB / 0.5874 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.6904, allocations: 0.5258 MB / 0.5879 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.6908, allocations: 0.6796 MB / 0.5886 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.6909, allocations: 3.859 kB / 0.5886 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.6909, allocations: 10.02 kB / 0.5886 GB, free: 14.5 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6909, allocations: 0.6562 kB / 0.5886 GB, free: 14.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.7121, allocations: 1.872 MB / 0.5904 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.7125, allocations: 192.9 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.358, allocations: 3.5 kB / 0.5906 GB, free: 14.13 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: