Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007772/0.0007772, 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.00081/0.00081, 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.9085/0.9085, allocations: 230.6 MB / 256 MB, free: 9.59 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.7869/0.7869, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001467/0.001467, allocations: 66.12 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5139, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00225/0.5162, allocations: 1.399 MB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.5163, allocations: 32.72 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.5163, allocations: 3.938 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.5165, allocations: 13.7 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.5166, allocations: 14.67 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.5166, allocations: 0 / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.5167, allocations: 17.61 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.5168, allocations: 11.44 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.5168, allocations: 12 kB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.5168, allocations: 12.28 kB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.5169, allocations: 3.062 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.5169, allocations: 10.86 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.517, allocations: 1.844 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.517, allocations: 5.938 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.5171, allocations: 29.62 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5171, allocations: 1.031 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5171, allocations: 0.7969 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5171, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 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.0003101/0.5174, allocations: 264.8 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5175, allocations: 11 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.5175, allocations: 31.5 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.5175, allocations: 3.844 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5177, allocations: 120.3 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.5177, allocations: 5.719 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.5177, allocations: 4.312 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.604e-05/0.5178, allocations: 31.98 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5178, allocations: 3.938 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.5178, allocations: 0 / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5178, allocations: 6.375 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.5178, allocations: 2.312 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.518, allocations: 124.5 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.518, allocations: 25.42 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.518, allocations: 11.97 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.518, allocations: 0 / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5181, allocations: 30.56 kB / 0.8199 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.5181, allocations: 0 / 0.8199 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.5182, allocations: 43.8 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5182, allocations: 52.59 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.5183, allocations: 127.4 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.5183, allocations: 25.7 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.5183, allocations: 84.5 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.5184, allocations: 8.609 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.5184, allocations: 13.22 kB / 0.8203 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.5185, allocations: 312.3 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.5185, allocations: 4.656 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-06/0.5185, allocations: 3.531 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.5185, allocations: 13.84 kB / 0.8206 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5185, allocations: 4.062 kB / 0.8206 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.629e-05/0.5186, allocations: 33.59 kB / 0.8206 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5186, allocations: 10.12 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5186, allocations: 0 / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5186, allocations: 4.641 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.5186, allocations: 5.094 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5187, allocations: 0.6562 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.5187, allocations: 0 / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5187, allocations: 0 / 0.8207 GB, free: 14.52 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.235e-05/0.5187, allocations: 114.5 kB / 0.8208 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.5187, allocations: 11.92 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.5188, allocations: 53.42 kB / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5188, allocations: 0 / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5188, allocations: 8.578 kB / 0.8208 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5188, allocations: 0 / 0.8208 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.225e-05/0.5189, allocations: 124.5 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5189, allocations: 0.5156 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.5189, allocations: 2.438 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5189, allocations: 3.938 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5189, allocations: 2.156 kB / 0.821 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5189, allocations: 7.969 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5189, allocations: 0.6562 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.364e-05/0.519, allocations: 56.7 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.519, allocations: 4.656 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.519, allocations: 6.078 kB / 0.821 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-06/0.519, allocations: 0 / 0.821 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.519, allocations: 1.984 kB / 0.821 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.519, allocations: 0 / 0.821 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.5191, allocations: 96.3 kB / 0.8211 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5191, allocations: 0 / 0.8211 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001327/0.5192, allocations: 10.09 kB / 0.8211 GB, free: 14.01 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.0004833/0.5197, allocations: 0.6142 MB / 0.8217 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.5198, allocations: 4.375 kB / 0.8217 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5198, allocations: 0 / 0.8217 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-06/0.5198, allocations: 5.016 kB / 0.8218 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.5199, allocations: 8.094 kB / 0.8218 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.5207, allocations: 1.111 MB / 0.8228 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.5208, allocations: 73.28 kB / 0.8229 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.5209, allocations: 4.438 kB / 0.8229 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.5209, allocations: 13.95 kB / 0.8229 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.5209, allocations: 0 / 0.8229 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.5383, allocations: 1.9 MB / 0.8248 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/7.143, allocations: 1.281 kB / 0.8248 GB, free: 11.34 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.986418461892754] Failed to read output from testmodel.py, exit status != 0: 7.221387930214405 7.235668903 6.716256723 Calling exit ...