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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008012/0.0008012, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9567/0.9567, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7887/0.7887, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000965/0.000965, allocations: 69.67 kB / 0.7181 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.529, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001371/0.5304, allocations: 0.5958 MB / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.07e-05/0.5304, allocations: 7.938 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.5304, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.5305, allocations: 0.6094 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.5305, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.525e-05/0.5305, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.5306, allocations: 3.25 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.5306, allocations: 0.6094 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.5306, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.5306, allocations: 3.984 kB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.5306, allocations: 3.688 kB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.5307, allocations: 0 / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.5307, allocations: 8.656 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.5307, allocations: 3.938 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.705e-05/0.5307, allocations: 4.406 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5307, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5307, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5308, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB 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.0001902/0.5309, allocations: 231.7 kB / 0.8186 GB, free: 412 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.531, allocations: 15.59 kB / 0.8186 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.531, allocations: 31.73 kB / 0.8186 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.531, allocations: 0.9375 kB / 0.8186 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.202e-05/0.5311, allocations: 107.2 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5311, allocations: 6.375 kB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-06/0.5311, allocations: 384 / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.885e-05/0.5312, allocations: 32.08 kB / 0.8188 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5312, allocations: 5.188 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.5312, allocations: 0.6094 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5312, allocations: 0 / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.5312, allocations: 3.344 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.952e-05/0.5313, allocations: 114.1 kB / 0.8189 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.5313, allocations: 21.11 kB / 0.8189 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.5313, allocations: 19.98 kB / 0.8189 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.5313, allocations: 0 / 0.8189 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5314, allocations: 36.67 kB / 0.819 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.5314, allocations: 0 / 0.819 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.5315, allocations: 40.19 kB / 0.819 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.5315, allocations: 52.11 kB / 0.8191 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.729e-05/0.5315, allocations: 97.64 kB / 0.8192 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.5315, allocations: 25.7 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.5316, allocations: 80.14 kB / 0.8193 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.5316, allocations: 0.5625 kB / 0.8193 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.5316, allocations: 14.41 kB / 0.8193 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.5317, allocations: 313.1 kB / 0.8196 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.5317, allocations: 1.5 kB / 0.8196 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.5317, allocations: 7.875 kB / 0.8196 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.5317, allocations: 12.36 kB / 0.8196 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5317, allocations: 1.25 kB / 0.8196 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.328e-05/0.5318, allocations: 31.66 kB / 0.8196 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5318, allocations: 5.625 kB / 0.8196 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5318, allocations: 3.938 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5318, allocations: 4.703 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.5319, allocations: 1.438 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.5319, allocations: 2.516 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.5319, allocations: 0 / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.5319, allocations: 0 / 0.8196 GB, free: 15.24 MB / 0.6198 GB 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 5.8e-05/0.5319, allocations: 113.3 kB / 0.8198 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-06/0.5319, allocations: 0.75 kB / 0.8198 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.532, allocations: 10.89 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.532, allocations: 1.734 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.532, allocations: 0 / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.532, allocations: 3.938 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.336e-05/0.532, allocations: 123.6 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5321, allocations: 2.734 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.5321, allocations: 0 / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5321, allocations: 3.781 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5321, allocations: 3.938 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5321, allocations: 0 / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5321, allocations: 0 / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.064e-05/0.5321, allocations: 60.77 kB / 0.82 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.5321, allocations: 2.578 kB / 0.82 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.5321, allocations: 4.453 kB / 0.82 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-06/0.5322, allocations: 7.156 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.5322, allocations: 0.6094 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5322, allocations: 0 / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.159e-05/0.5322, allocations: 79.22 kB / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5322, allocations: 0 / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001108/0.5323, allocations: 0.5625 kB / 0.82 GB, free: 14.79 MB / 0.6198 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.0002571/0.5326, allocations: 0.5874 MB / 0.8206 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.5326, allocations: 6.594 kB / 0.8206 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5326, allocations: 4.094 kB / 0.8206 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.5326, allocations: 7.875 kB / 0.8206 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.5327, allocations: 5.109 kB / 0.8206 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.533, allocations: 103.1 kB / 0.8207 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.5331, allocations: 55.33 kB / 0.8208 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.065e-05/0.5331, allocations: 0 / 0.8208 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.5331, allocations: 8.094 kB / 0.8208 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5331, allocations: 0 / 0.8208 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.549, allocations: 1.391 MB / 0.8222 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.631, allocations: 7.469 kB / 0.8222 GB, free: 13.15 MB / 0.6198 GB " [Timeout remaining time 652] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.516540326178074] Failed to read output from testmodel.py, exit status != 0: 7.710635719355196 7.730315915 7.195800141 Calling exit ...