Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",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.001034/0.001035, allocations: 99.47 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.001001/0.001002, 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 1.747/1.747, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004635, allocations: 8 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2723, allocations: 82.32 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001168/0.2735, allocations: 307.6 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 5.429e-05/0.2736, allocations: 7.922 kB / 0.5876 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.2737, allocations: 4 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2737, allocations: 0 / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.216e-06/0.2737, allocations: 0 / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.59e-05/0.2738, allocations: 4 kB / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.647e-05/0.2739, allocations: 3.984 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.2739, allocations: 0 / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.274, allocations: 0 / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.274, allocations: 4 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.274, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-06/0.274, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2741, allocations: 4 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.2741, allocations: 25.7 kB / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.42e-05/0.2742, allocations: 0 / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2742, allocations: 3.938 kB / 0.5876 GB, free: 2.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2742, allocations: 0 / 0.5876 GB, free: 2.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2743, allocations: 0 / 0.5876 GB, free: 2.664 MB / 494.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.0003917/0.2747, allocations: 307.4 kB / 0.5879 GB, free: 2.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.2747, allocations: 16.09 kB / 0.5879 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.455e-05/0.2748, allocations: 30.56 kB / 0.588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.2748, allocations: 0 / 0.588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.275, allocations: 167 kB / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.275, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2751, allocations: 3.938 kB / 0.5881 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2752, allocations: 33.64 kB / 0.5882 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2752, allocations: 0 / 0.5882 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2753, allocations: 0 / 0.5882 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2753, allocations: 4 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.2753, allocations: 0 / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.2755, allocations: 153.6 kB / 0.5883 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.2756, allocations: 18.58 kB / 0.5883 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2756, allocations: 3.938 kB / 0.5883 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2757, allocations: 30.56 kB / 0.5884 GB, free: 1.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.2757, allocations: 0 / 0.5884 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.2759, allocations: 37.8 kB / 0.5884 GB, free: 1.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2759, allocations: 51.41 kB / 0.5885 GB, free: 1.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.276, allocations: 89.86 kB / 0.5885 GB, free: 1.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.276, allocations: 25.7 kB / 0.5886 GB, free: 1.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.2761, allocations: 84.12 kB / 0.5886 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2761, allocations: 7.906 kB / 0.5887 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.2761, allocations: 0 / 0.5887 GB, free: 1.414 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2763, allocations: 314.8 kB / 0.589 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.2764, allocations: 8.125 kB / 0.589 GB, free: 1.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.2764, allocations: 3.938 kB / 0.589 GB, free: 1.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.2764, allocations: 0 / 0.589 GB, free: 1.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2764, allocations: 0 / 0.589 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.746e-05/0.2765, allocations: 37.66 kB / 0.589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2766, allocations: 4 kB / 0.589 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2766, allocations: 4 kB / 0.589 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2766, allocations: 0 / 0.589 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.2767, allocations: 0 / 0.589 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.2767, allocations: 7.984 kB / 0.589 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.2768, allocations: 4.094 kB / 0.589 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.2768, allocations: 0 / 0.589 GB, free: 1.023 MB / 494.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 0.0001172/0.2769, allocations: 109.8 kB / 0.5891 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2769, allocations: 3.953 kB / 0.5891 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.277, allocations: 7.062 kB / 0.5891 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.277, allocations: 4 kB / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.277, allocations: 0 / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.277, allocations: 0 / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2772, allocations: 149.9 kB / 0.5893 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.2772, allocations: 4 kB / 0.5893 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.2773, allocations: 3.938 kB / 0.5893 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2773, allocations: 7.953 kB / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2773, allocations: 0 / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2773, allocations: 0 / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2773, allocations: 0 / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.2774, allocations: 53.14 kB / 0.5893 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2776, allocations: 85.11 kB / 0.5894 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2776, allocations: 11.95 kB / 0.5894 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.2776, allocations: 0 / 0.5894 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2777, allocations: 0 / 0.5894 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.2777, allocations: 0 / 0.5894 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.2777, allocations: 75.28 kB / 0.5895 GB, free: 432 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2778, allocations: 0 / 0.5895 GB, free: 432 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.2781, allocations: 0 / 0.5895 GB, free: 432 kB / 494.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.0006143/0.2787, allocations: 0.5968 MB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.2789, allocations: 4 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2789, allocations: 0 / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.2789, allocations: 8 kB / 0.5901 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.2791, allocations: 3.953 kB / 0.5901 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.2796, allocations: 108.5 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.2801, allocations: 0.6731 MB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.2801, allocations: 0 / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.2802, allocations: 7.438 kB / 0.5909 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of SimCode: time 2.374e-06/0.2802, allocations: 0 / 0.5909 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.462/1.742, allocations: 0.6796 MB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003703/1.743, allocations: 164.7 kB / 0.5917 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.499, allocations: 0 / 0.5917 GB, free: 14.13 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: