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.0007852/0.0007852, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008302/0.0008302, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9557/0.9557, allocations: 230.6 MB / 256 MB, free: 9.801 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.8044/0.8044, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009161/0.0009161, allocations: 65.34 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5108, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001391/0.5122, allocations: 0.6053 MB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.246e-05/0.5123, allocations: 0.6562 kB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.5123, allocations: 1.969 kB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.5123, allocations: 0 / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.5123, allocations: 0 / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.5123, allocations: 4.547 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.5124, allocations: 3.125 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.5125, allocations: 0.75 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.5125, allocations: 4 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.139e-05/0.5125, allocations: 8.531 kB / 0.8184 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.5125, allocations: 0 / 0.8184 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-06/0.5125, allocations: 2.562 kB / 0.8184 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.5125, allocations: 0 / 0.8184 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.5126, allocations: 4 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.016e-05/0.5126, allocations: 8.344 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5126, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5126, allocations: 0 / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5126, allocations: 2.922 kB / 0.8185 GB, free: 0.8672 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.000181/0.5128, allocations: 234.3 kB / 0.8187 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5128, allocations: 10.97 kB / 0.8187 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.5129, allocations: 30.75 kB / 0.8187 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.5129, allocations: 0.9375 kB / 0.8187 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.288e-05/0.5129, allocations: 109.6 kB / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.5129, allocations: 384 / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.5129, allocations: 384 / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.513, allocations: 31.28 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.513, allocations: 7.875 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.513, allocations: 4 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.513, allocations: 0 / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.5131, allocations: 0.75 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.31e-05/0.5131, allocations: 117.5 kB / 0.819 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.101e-05/0.5132, allocations: 19.09 kB / 0.819 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.5132, allocations: 10.11 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.5132, allocations: 0 / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.5132, allocations: 35.31 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.5132, allocations: 0 / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.5133, allocations: 42.92 kB / 0.8191 GB, free: 128 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5134, allocations: 52.11 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.5134, allocations: 93.86 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5134, allocations: 25.7 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.5134, allocations: 80.98 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.5135, allocations: 3.719 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.5135, allocations: 13.84 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5136, allocations: 312 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.5136, allocations: 0.75 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-06/0.5136, allocations: 1.094 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.5137, allocations: 18.09 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5137, allocations: 0 / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.693e-05/0.5137, allocations: 34.31 kB / 0.8197 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5137, allocations: 9.688 kB / 0.8197 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5137, allocations: 7.938 kB / 0.8197 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5138, allocations: 3.938 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.5138, allocations: 4.422 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5138, allocations: 0 / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-06/0.5138, allocations: 0.9375 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.5138, allocations: 0 / 0.8197 GB, free: 15.45 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.006e-05/0.5139, allocations: 105.8 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-06/0.5139, allocations: 3.828 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.5139, allocations: 15.41 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5139, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5139, allocations: 0.6562 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5139, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.36e-05/0.514, allocations: 124.1 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.514, allocations: 0.7031 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.514, allocations: 5.188 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.514, allocations: 1.125 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.514, allocations: 3.938 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.514, allocations: 0.5625 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.514, allocations: 1.906 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.815e-05/0.5141, allocations: 68.09 kB / 0.82 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.5141, allocations: 0.7031 kB / 0.82 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.5141, allocations: 6.641 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-06/0.5141, allocations: 0 / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.5141, allocations: 0.9844 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.5141, allocations: 0 / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.5141, allocations: 77.19 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5141, allocations: 4.031 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001145/0.5142, allocations: 0 / 0.8201 GB, free: 15 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.0002507/0.5145, allocations: 0.5904 MB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.5146, allocations: 4.219 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5146, allocations: 4.094 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.5146, allocations: 2.312 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.5147, allocations: 4.828 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.5149, allocations: 105.6 kB / 0.8208 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.5151, allocations: 0.6772 MB / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.5151, allocations: 1.031 kB / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.5151, allocations: 7.438 kB / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5151, allocations: 0 / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.5358, allocations: 0.9877 MB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/7.207, allocations: 11.75 kB / 0.8225 GB, free: 13.15 MB / 0.6198 GB " [Timeout remaining time 653] (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.114929663017392] Failed to read output from testmodel.py, exit status != 0: 7.283486711094156 7.294597548 6.779541476 Calling exit ...