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.00111/0.00111, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008453/0.008453, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9793/0.9793, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 8 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 82.3 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0009171/0.2329, allocations: 327.5 kB / 0.5884 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 5.064e-05/0.233, allocations: 4 kB / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.233, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.233, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.233, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.818e-05/0.2331, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.2331, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.2332, allocations: 0 / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.2333, allocations: 4 kB / 0.5884 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.2333, allocations: 3.938 kB / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2333, allocations: 0 / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-06/0.2333, allocations: 4 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.2333, allocations: 0 / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.2334, allocations: 33.64 kB / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.238e-05/0.2335, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2335, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.2335, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2335, allocations: 0 / 0.5884 GB, free: 2.141 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.0003594/0.2339, allocations: 313.8 kB / 0.5887 GB, free: 1.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.2339, allocations: 8.031 kB / 0.5887 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.234, allocations: 30.75 kB / 0.5888 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.234, allocations: 4.938 kB / 0.5888 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2342, allocations: 164.3 kB / 0.5889 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2342, allocations: 4.375 kB / 0.5889 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.2342, allocations: 384 / 0.5889 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2343, allocations: 30.25 kB / 0.589 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2343, allocations: 3.938 kB / 0.589 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2343, allocations: 0 / 0.589 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2344, allocations: 0 / 0.589 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.2344, allocations: 8 kB / 0.589 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2346, allocations: 145.7 kB / 0.5891 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.2346, allocations: 18.52 kB / 0.5891 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.2347, allocations: 8.953 kB / 0.5891 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2347, allocations: 0 / 0.5891 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2347, allocations: 34.56 kB / 0.5892 GB, free: 1.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.2347, allocations: 4 kB / 0.5892 GB, free: 1.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.2349, allocations: 41.62 kB / 0.5892 GB, free: 1.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.235, allocations: 51.41 kB / 0.5893 GB, free: 1.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.235, allocations: 89.86 kB / 0.5893 GB, free: 1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.235, allocations: 25.7 kB / 0.5894 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.2351, allocations: 80.14 kB / 0.5894 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.2351, allocations: 3.906 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.2351, allocations: 13.66 kB / 0.5895 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2353, allocations: 322.8 kB / 0.5898 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.2353, allocations: 4.125 kB / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.2353, allocations: 0 / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.2354, allocations: 12.8 kB / 0.5898 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2354, allocations: 0 / 0.5898 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.929e-05/0.2354, allocations: 33.69 kB / 0.5898 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2354, allocations: 4 kB / 0.5898 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2354, allocations: 3.938 kB / 0.5898 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2355, allocations: 7.938 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.2356, allocations: 4 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2356, allocations: 8.031 kB / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.2356, allocations: 0 / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2356, allocations: 0 / 0.5898 GB, free: 464 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.794e-05/0.2357, allocations: 113.8 kB / 0.59 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-06/0.2357, allocations: 0 / 0.59 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.2357, allocations: 11.05 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2357, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2358, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2358, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.2359, allocations: 150 kB / 0.5901 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2359, allocations: 4 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.2359, allocations: 0 / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2359, allocations: 0 / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2359, allocations: 3.938 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.236, allocations: 0 / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.236, allocations: 0 / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.744e-05/0.236, allocations: 61.12 kB / 0.5902 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.2361, allocations: 85.12 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2361, allocations: 3.938 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.2362, allocations: 3.938 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.2362, allocations: 0 / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.2362, allocations: 4 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.2362, allocations: 75.28 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2362, allocations: 0 / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001898/0.2364, allocations: 0 / 0.5903 GB, free: 15.85 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/0.2369, allocations: 0.5968 MB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.237, allocations: 8 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.237, allocations: 3.938 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.237, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.2371, allocations: 9.484 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.2375, allocations: 104.6 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2378, allocations: 0.6692 MB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.2378, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2379, allocations: 7.438 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.2379, allocations: 4 kB / 0.5917 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.2495, allocations: 0.6877 MB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.2497, allocations: 185.5 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.26, allocations: 3.375 kB / 0.5926 GB, free: 13.53 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/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)