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.0009628/0.0009629, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001236/0.001236, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7527/0.7527, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 12.59 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.42, allocations: 81.58 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0006983/0.4207, allocations: 307.1 kB / 0.5835 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.421, allocations: 51.05 kB / 0.5835 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.421, allocations: 1.125 kB / 0.5835 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.4211, allocations: 4.594 kB / 0.5835 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.4211, allocations: 3.938 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.4213, allocations: 9.5 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.122e-05/0.4213, allocations: 0.9688 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.4214, allocations: 1.703 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.4214, allocations: 4.75 kB / 0.5835 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.4215, allocations: 1.641 kB / 0.5835 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4215, allocations: 2.125 kB / 0.5835 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4216, allocations: 19.36 kB / 0.5836 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.4216, allocations: 4.984 kB / 0.5836 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.4216, allocations: 25.7 kB / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.355e-05/0.4217, allocations: 8.922 kB / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4217, allocations: 0.7188 kB / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4217, allocations: 0 / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4218, allocations: 1.812 kB / 0.5836 GB, free: 3.715 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.0002205/0.422, allocations: 314.2 kB / 0.5839 GB, free: 3.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.422, allocations: 10.02 kB / 0.5839 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.4221, allocations: 30.56 kB / 0.5839 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.4223, allocations: 25.58 kB / 0.584 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.4224, allocations: 168.3 kB / 0.5841 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4224, allocations: 4.75 kB / 0.5841 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.4225, allocations: 0.7188 kB / 0.5841 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4226, allocations: 34.17 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4226, allocations: 0.8125 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.4226, allocations: 0 / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4227, allocations: 0.625 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.4227, allocations: 9.047 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.4229, allocations: 153.1 kB / 0.5843 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.4229, allocations: 27.95 kB / 0.5843 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.423, allocations: 10.28 kB / 0.5844 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.423, allocations: 1.719 kB / 0.5844 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.4231, allocations: 32.09 kB / 0.5844 GB, free: 2.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4231, allocations: 0 / 0.5844 GB, free: 2.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002318/0.4233, allocations: 47.17 kB / 0.5844 GB, free: 2.773 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4233, allocations: 56.48 kB / 0.5845 GB, free: 2.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.005e-05/0.4234, allocations: 93.8 kB / 0.5846 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.4234, allocations: 31.14 kB / 0.5846 GB, free: 2.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.4234, allocations: 80.14 kB / 0.5847 GB, free: 2.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.4234, allocations: 4.562 kB / 0.5847 GB, free: 2.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.4234, allocations: 0 / 0.5847 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.4235, allocations: 320.4 kB / 0.585 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.4235, allocations: 4.609 kB / 0.585 GB, free: 2.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.4236, allocations: 5.703 kB / 0.585 GB, free: 2.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.4236, allocations: 5.844 kB / 0.585 GB, free: 2.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4237, allocations: 0 / 0.585 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001133/0.4238, allocations: 40.31 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4238, allocations: 9 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4238, allocations: 0 / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4238, allocations: 1.953 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.4239, allocations: 4.25 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4239, allocations: 0.75 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.424, allocations: 1.516 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.424, allocations: 1.516 kB / 0.5851 GB, free: 2.129 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 5.154e-05/0.424, allocations: 121.9 kB / 0.5852 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.424, allocations: 0 / 0.5852 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.4241, allocations: 8.625 kB / 0.5852 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4241, allocations: 0 / 0.5852 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4241, allocations: 1.562 kB / 0.5852 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4241, allocations: 0 / 0.5852 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.907e-05/0.4242, allocations: 154.1 kB / 0.5853 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4242, allocations: 0 / 0.5853 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.4242, allocations: 7.75 kB / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4242, allocations: 0.9062 kB / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4242, allocations: 1.484 kB / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4243, allocations: 0 / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4243, allocations: 5.281 kB / 0.5854 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.4244, allocations: 68.73 kB / 0.5854 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.4244, allocations: 81.33 kB / 0.5855 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4244, allocations: 3.984 kB / 0.5855 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.4245, allocations: 3.469 kB / 0.5855 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.4245, allocations: 7.875 kB / 0.5855 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4245, allocations: 5.5 kB / 0.5855 GB, free: 1.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.309e-05/0.4245, allocations: 76.12 kB / 0.5856 GB, free: 1.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4245, allocations: 0 / 0.5856 GB, free: 1.539 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.4247, allocations: 1.469 kB / 0.5856 GB, free: 1.539 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.0003008/0.425, allocations: 0.6016 MB / 0.5862 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.4252, allocations: 12.47 kB / 0.5862 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4252, allocations: 4 kB / 0.5862 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.4252, allocations: 10.05 kB / 0.5862 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4254, allocations: 1.844 kB / 0.5862 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.4257, allocations: 113.1 kB / 0.5863 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.778e-05/0.4258, allocations: 0.6721 MB / 0.587 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.662e-05/0.4258, allocations: 0.9688 kB / 0.587 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.4258, allocations: 8.859 kB / 0.587 GB, free: 100 kB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4258, allocations: 1.688 kB / 0.587 GB, free: 100 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.4363, allocations: 0.7464 MB / 0.5877 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.4365, allocations: 173.9 kB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.99, allocations: 0 / 0.5879 GB, free: 15.74 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: