Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008273/0.0008273, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008686/0.0008686, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9469/0.9469, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7886/0.7886, allocations: 203.5 MB / 0.5039 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 4.0.0/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_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_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.001222/0.001222, allocations: 61.03 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5367, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001856/0.5385, allocations: 1.385 MB / 0.8187 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.5386, allocations: 46.09 kB / 0.8188 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.5387, allocations: 0 / 0.8188 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.5388, allocations: 13.59 kB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.5389, allocations: 16.36 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.5389, allocations: 0 / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.539, allocations: 20.45 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.539, allocations: 8.016 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.5391, allocations: 3.5 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.5391, allocations: 11.97 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.5391, allocations: 7.344 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.119e-05/0.5392, allocations: 8.812 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.5392, allocations: 1.266 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.5392, allocations: 19.58 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.5393, allocations: 24.38 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5393, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5393, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5393, allocations: 0 / 0.8189 GB, free: 180 kB / 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.0002714/0.5396, allocations: 262.9 kB / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5397, allocations: 7.812 kB / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.5397, allocations: 33.44 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.5397, allocations: 12.86 kB / 0.8192 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.5398, allocations: 123.8 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.5398, allocations: 384 / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.5398, allocations: 1.156 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/0.5399, allocations: 31.31 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.5399, allocations: 3.938 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.5399, allocations: 0 / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.54, allocations: 1.578 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.54, allocations: 8.922 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.5401, allocations: 122.8 kB / 0.8195 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.5401, allocations: 22.06 kB / 0.8195 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.5401, allocations: 18.56 kB / 0.8195 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.5402, allocations: 0 / 0.8195 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.5402, allocations: 34.17 kB / 0.8195 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.5402, allocations: 0 / 0.8195 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.5403, allocations: 40.69 kB / 0.8196 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5403, allocations: 52.88 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.5404, allocations: 119.3 kB / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5404, allocations: 25.7 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.5404, allocations: 88.03 kB / 0.8199 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.5405, allocations: 12.02 kB / 0.8199 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.5405, allocations: 11.92 kB / 0.8199 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.5405, allocations: 318.2 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.5406, allocations: 1.188 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.5406, allocations: 3.266 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.5406, allocations: 15.64 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5406, allocations: 0 / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.56e-05/0.5406, allocations: 35.94 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5406, allocations: 11.03 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5406, allocations: 4.094 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5406, allocations: 0.9844 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.5407, allocations: 1.156 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5407, allocations: 1.812 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-06/0.5407, allocations: 0 / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5407, allocations: 4.547 kB / 0.8203 GB, free: 14.71 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 4.734e-05/0.5408, allocations: 109.9 kB / 0.8204 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-06/0.5408, allocations: 11.22 kB / 0.8204 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.5408, allocations: 49.8 kB / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.5408, allocations: 0 / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5408, allocations: 5.281 kB / 0.8204 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5409, allocations: 0 / 0.8204 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.5409, allocations: 125.5 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5409, allocations: 0 / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.5409, allocations: 3 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5409, allocations: 4.781 kB / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.5409, allocations: 0 / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5409, allocations: 1.156 kB / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5409, allocations: 0 / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.446e-05/0.541, allocations: 60.89 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.541, allocations: 7.438 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.541, allocations: 7.875 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-06/0.541, allocations: 0 / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.541, allocations: 2.016 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.541, allocations: 1.125 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.5411, allocations: 95.09 kB / 0.8207 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5411, allocations: 0 / 0.8207 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000124/0.5412, allocations: 10.14 kB / 0.8207 GB, free: 14.21 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.0002925/0.5415, allocations: 0.6159 MB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.5415, allocations: 10.27 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5415, allocations: 0 / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.605e-06/0.5415, allocations: 9.688 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.5416, allocations: 10.73 kB / 0.8214 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.5423, allocations: 1.109 MB / 0.8224 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.5423, allocations: 66.81 kB / 0.8225 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.5424, allocations: 4.156 kB / 0.8225 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.5424, allocations: 8.234 kB / 0.8225 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.5424, allocations: 1.25 kB / 0.8225 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.5566, allocations: 1.897 MB / 0.8244 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/7.321, allocations: 6.906 kB / 0.8244 GB, free: 11.53 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.18359084893018] Failed to read output from testmodel.py, exit status != 0: 7.399619532749057 7.411597996 6.869812174 Calling exit ...