Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.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.001261/0.001261, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001376/0.001376, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.411/1.411, allocations: 177.2 MB / 202.7 MB, free: 4.809 MB / 186.7 MB " [Timeout remaining time 178] 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 1.226/1.226, allocations: 154.7 MB / 413.8 MB, free: 3.121 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",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.002084/0.002084, allocations: 75.14 kB / 0.618 GB, free: 1.152 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2228, allocations: 102 MB / 0.7176 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003894/0.2267, allocations: 1.501 MB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2287, allocations: 1.2 MB / 0.7203 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.2288, allocations: 7.938 kB / 0.7203 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.229, allocations: 23.86 kB / 0.7203 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.2293, allocations: 39.77 kB / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.2295, allocations: 59.91 kB / 0.7204 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2298, allocations: 143.6 kB / 0.7205 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.23, allocations: 37.22 kB / 0.7206 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2302, allocations: 111.7 kB / 0.7207 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.2304, allocations: 51.7 kB / 0.7207 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.2305, allocations: 15.98 kB / 0.7207 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2306, allocations: 24 kB / 0.7207 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2307, allocations: 55.88 kB / 0.7208 GB, free: 8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.2308, allocations: 59.59 kB / 0.7209 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.2311, allocations: 203.2 kB / 0.7211 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2311, allocations: 7.922 kB / 0.7211 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2311, allocations: 0 / 0.7211 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2311, allocations: 0 / 0.7211 GB, free: 7.734 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008416/0.2319, allocations: 425.3 kB / 0.7215 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.232, allocations: 12.03 kB / 0.7215 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.2321, allocations: 34.75 kB / 0.7215 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.2322, allocations: 28.8 kB / 0.7215 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2326, allocations: 201.9 kB / 0.7217 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.2328, allocations: 222.2 kB / 0.7219 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2328, allocations: 4.375 kB / 0.7219 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.2333, allocations: 264.3 kB / 0.7222 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2333, allocations: 0 / 0.7222 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2334, allocations: 7.938 kB / 0.7222 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.2334, allocations: 11.97 kB / 0.7222 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.2335, allocations: 49.73 kB / 0.7223 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2348, allocations: 403.6 kB / 0.7226 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.2349, allocations: 42.5 kB / 0.7227 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.235, allocations: 20.86 kB / 0.7227 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.235, allocations: 7.984 kB / 0.7227 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.235, allocations: 30.56 kB / 0.7227 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.235, allocations: 8 kB / 0.7228 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003499/0.2354, allocations: 101.8 kB / 0.7228 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2354, allocations: 55.34 kB / 0.7229 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.2357, allocations: 219.8 kB / 0.7231 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2358, allocations: 29.64 kB / 0.7231 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2359, allocations: 124.2 kB / 0.7233 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2359, allocations: 31.89 kB / 0.7233 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.236, allocations: 29.66 kB / 0.7233 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2361, allocations: 326.8 kB / 0.7236 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.2362, allocations: 31.97 kB / 0.7237 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2363, allocations: 102.3 kB / 0.7238 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2365, allocations: 142.1 kB / 0.7239 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2365, allocations: 0 / 0.7239 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002775/0.2368, allocations: 149.3 kB / 0.724 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2368, allocations: 10.19 kB / 0.724 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2368, allocations: 4 kB / 0.724 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2368, allocations: 384 / 0.724 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2369, allocations: 27.98 kB / 0.7241 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.237, allocations: 15.94 kB / 0.7241 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.237, allocations: 8 kB / 0.7241 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.237, allocations: 12 kB / 0.7241 GB, free: 4.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001579/0.2372, allocations: 141.8 kB / 0.7242 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.2373, allocations: 19.86 kB / 0.7243 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.2375, allocations: 119 kB / 0.7244 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2375, allocations: 4 kB / 0.7244 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2375, allocations: 3.938 kB / 0.7244 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2375, allocations: 0 / 0.7244 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.2379, allocations: 184.7 kB / 0.7246 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2379, allocations: 0 / 0.7246 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.2379, allocations: 15.98 kB / 0.7246 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2379, allocations: 0 / 0.7246 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2379, allocations: 0 / 0.7246 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2379, allocations: 4 kB / 0.7246 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2379, allocations: 3.938 kB / 0.7246 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2382, allocations: 195.3 kB / 0.7248 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2382, allocations: 15.84 kB / 0.7248 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2383, allocations: 7.938 kB / 0.7248 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2385, allocations: 23.97 kB / 0.7248 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.2386, allocations: 11.92 kB / 0.7248 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.2386, allocations: 11.98 kB / 0.7248 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001857/0.2388, allocations: 161.5 kB / 0.725 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2388, allocations: 0 / 0.725 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003396/0.2391, allocations: 31.95 kB / 0.725 GB, free: 3.254 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 (8): * Single equations (assignments): 8 * 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.0008237/0.2399, allocations: 0.7429 MB / 0.7257 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2402, allocations: 67.84 kB / 0.7258 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2402, allocations: 0 / 0.7258 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.2402, allocations: 23.98 kB / 0.7258 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2406, allocations: 20.47 kB / 0.7259 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.243, allocations: 1.928 MB / 0.7277 GB, free: 316 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2431, allocations: 118.2 kB / 0.7279 GB, free: 176 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.2433, allocations: 56.86 kB / 0.7279 GB, free: 120 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.2433, allocations: 48.48 kB / 0.728 GB, free: 68 kB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.2434, allocations: 0 / 0.728 GB, free: 68 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.2836, allocations: 5.007 MB / 0.7328 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.78, allocations: 6.734 kB / 0.7328 GB, free: 11.22 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.68611787998816] Failed to read output from testmodel.py, exit status != 0: 11.883658756996738 11.902244994 11.667457056 Calling exit ...