Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.001536/0.001536, allocations: 100.1 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.00195/0.00195, allocations: 177.3 kB / 15.95 MB, free: 216 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.362/2.362, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.26/1.26, allocations: 132.3 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005408/0.0005413, allocations: 12 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.7077, allocations: 81.58 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001064/0.7088, allocations: 305.6 kB / 0.5833 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.7092, allocations: 52.2 kB / 0.5833 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.7092, allocations: 1.812 kB / 0.5833 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.7092, allocations: 0 / 0.5833 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-06/0.7093, allocations: 0.6875 kB / 0.5833 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.7096, allocations: 13.72 kB / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.7096, allocations: 0.9375 kB / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.7097, allocations: 1.812 kB / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.7097, allocations: 0 / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.7098, allocations: 1.312 kB / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.7098, allocations: 0 / 0.5833 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.71, allocations: 28.88 kB / 0.5834 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.71, allocations: 4 kB / 0.5834 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.71, allocations: 25.7 kB / 0.5834 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.7102, allocations: 13.06 kB / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.7102, allocations: 0 / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7102, allocations: 0 / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.7102, allocations: 0 / 0.5834 GB, free: 3.723 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003815/0.7106, allocations: 312.4 kB / 0.5837 GB, free: 3.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.23e-05/0.7107, allocations: 8.938 kB / 0.5837 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.7108, allocations: 34.5 kB / 0.5837 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.7112, allocations: 22.05 kB / 0.5838 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.7113, allocations: 164.3 kB / 0.5839 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.7113, allocations: 1.125 kB / 0.5839 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.7113, allocations: 0 / 0.5839 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.7115, allocations: 34.38 kB / 0.584 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7115, allocations: 0.5625 kB / 0.584 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7116, allocations: 0.5938 kB / 0.584 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7116, allocations: 3.938 kB / 0.584 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.7117, allocations: 13.45 kB / 0.584 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.7119, allocations: 153.1 kB / 0.5841 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.712, allocations: 24.78 kB / 0.5841 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.7121, allocations: 0.7812 kB / 0.5841 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7121, allocations: 32.06 kB / 0.5842 GB, free: 2.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.7121, allocations: 4 kB / 0.5842 GB, free: 2.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003618/0.7125, allocations: 47.81 kB / 0.5842 GB, free: 2.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.7126, allocations: 56.16 kB / 0.5843 GB, free: 2.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.585e-05/0.7126, allocations: 89.86 kB / 0.5844 GB, free: 2.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.7126, allocations: 26.5 kB / 0.5844 GB, free: 2.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.7127, allocations: 81.14 kB / 0.5845 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.7127, allocations: 4.75 kB / 0.5845 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.7127, allocations: 4.125 kB / 0.5845 GB, free: 2.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.7128, allocations: 312.3 kB / 0.5848 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.7129, allocations: 8.5 kB / 0.5848 GB, free: 2.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.713, allocations: 5.281 kB / 0.5848 GB, free: 2.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.7131, allocations: 9.297 kB / 0.5848 GB, free: 2.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7131, allocations: 0 / 0.5848 GB, free: 2.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001881/0.7133, allocations: 48.09 kB / 0.5848 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7133, allocations: 5.406 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7133, allocations: 0.7812 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7134, allocations: 0.6094 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.7135, allocations: 4.812 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7135, allocations: 0.7031 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.7135, allocations: 2.844 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.7136, allocations: 8.547 kB / 0.5849 GB, free: 2.137 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.577e-05/0.7137, allocations: 111.4 kB / 0.585 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.7137, allocations: 8.828 kB / 0.585 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.7137, allocations: 5.297 kB / 0.585 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7137, allocations: 0 / 0.585 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7138, allocations: 0.7031 kB / 0.585 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7138, allocations: 0 / 0.585 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.7139, allocations: 145.5 kB / 0.5851 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7139, allocations: 3.953 kB / 0.5851 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.7139, allocations: 4.906 kB / 0.5851 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.714, allocations: 0.7812 kB / 0.5851 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.714, allocations: 8.75 kB / 0.5851 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.714, allocations: 0.6562 kB / 0.5851 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.714, allocations: 1.344 kB / 0.5851 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.7142, allocations: 61.56 kB / 0.5852 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.7143, allocations: 84.02 kB / 0.5853 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7143, allocations: 4.5 kB / 0.5853 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.7143, allocations: 6.047 kB / 0.5853 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.7144, allocations: 6.172 kB / 0.5853 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7144, allocations: 0.6094 kB / 0.5853 GB, free: 1.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.436e-05/0.7144, allocations: 79.28 kB / 0.5854 GB, free: 1.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7144, allocations: 1.75 kB / 0.5854 GB, free: 1.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.7148, allocations: 0 / 0.5854 GB, free: 1.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0004647/0.7152, allocations: 0.6024 MB / 0.586 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.7155, allocations: 11.53 kB / 0.586 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7155, allocations: 3.938 kB / 0.586 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.7156, allocations: 10.42 kB / 0.586 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.7157, allocations: 1.828 kB / 0.586 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.7162, allocations: 109.8 kB / 0.5861 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.7164, allocations: 0.6736 MB / 0.5868 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.743e-05/0.7165, allocations: 1.031 kB / 0.5868 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.7166, allocations: 9.344 kB / 0.5868 GB, free: 120 kB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7166, allocations: 4 kB / 0.5868 GB, free: 116 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.7382, allocations: 0.7374 MB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.7387, allocations: 172 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.255, allocations: 0.9688 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: