Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 104.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.8 MB / 478.4 MB, free: 8.488 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 62.31 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2116, allocations: 94.54 MB / 0.7575 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002956/0.2145, allocations: 1.494 MB / 0.759 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3931/0.6076, allocations: 1.109 MB / 0.76 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.6077, allocations: 1.562 kB / 0.76 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.6079, allocations: 12.31 kB / 0.7601 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.608, allocations: 46.92 kB / 0.7601 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.6082, allocations: 56.67 kB / 0.7602 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.6085, allocations: 145.7 kB / 0.7603 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.6086, allocations: 55.73 kB / 0.7603 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.6087, allocations: 80.95 kB / 0.7604 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.6089, allocations: 59.91 kB / 0.7605 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.6089, allocations: 11.44 kB / 0.7605 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.609, allocations: 28.8 kB / 0.7605 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.6091, allocations: 57.19 kB / 0.7606 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.6092, allocations: 73.92 kB / 0.7606 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.6095, allocations: 193.2 kB / 0.7608 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6095, allocations: 3.641 kB / 0.7608 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6095, allocations: 0.625 kB / 0.7608 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6095, allocations: 0 / 0.7608 GB, free: 7.902 MB / 0.5762 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.0007016/0.6102, allocations: 0.4944 MB / 0.7613 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6102, allocations: 9.75 kB / 0.7613 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.6103, allocations: 39.83 kB / 0.7614 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.6103, allocations: 20.12 kB / 0.7614 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.6107, allocations: 258.3 kB / 0.7616 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.6108, allocations: 119.2 kB / 0.7617 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.6108, allocations: 7.062 kB / 0.7617 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.6112, allocations: 158.5 kB / 0.7619 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6112, allocations: 3 kB / 0.7619 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.6112, allocations: 8.109 kB / 0.7619 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.6113, allocations: 11.25 kB / 0.7619 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.6114, allocations: 43.36 kB / 0.762 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6125, allocations: 459.8 kB / 0.7624 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.6126, allocations: 32.45 kB / 0.7624 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.6126, allocations: 21.97 kB / 0.7624 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.6127, allocations: 8.953 kB / 0.7625 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6127, allocations: 37.2 kB / 0.7625 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.051e-06/0.6127, allocations: 0 / 0.7625 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003237/0.613, allocations: 107.8 kB / 0.7626 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.613, allocations: 57.19 kB / 0.7627 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.6133, allocations: 215.2 kB / 0.7629 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6133, allocations: 30.05 kB / 0.7629 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.6134, allocations: 129.8 kB / 0.763 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.6134, allocations: 23.92 kB / 0.763 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.6135, allocations: 30.47 kB / 0.7631 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.6136, allocations: 330.1 kB / 0.7634 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.6136, allocations: 23.92 kB / 0.7634 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.6137, allocations: 109.1 kB / 0.7635 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.6139, allocations: 140.8 kB / 0.7636 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6139, allocations: 1.281 kB / 0.7636 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002501/0.6141, allocations: 153.3 kB / 0.7638 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6142, allocations: 7.438 kB / 0.7638 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6142, allocations: 2.562 kB / 0.7638 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.6142, allocations: 4.578 kB / 0.7638 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.6143, allocations: 29.39 kB / 0.7638 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.6143, allocations: 13.28 kB / 0.7638 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.6144, allocations: 11.64 kB / 0.7638 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.6144, allocations: 7.188 kB / 0.7639 GB, free: 5.758 MB / 0.5762 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.0001249/0.6145, allocations: 146.4 kB / 0.764 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.6146, allocations: 16.5 kB / 0.764 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.6149, allocations: 115.6 kB / 0.7641 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6149, allocations: 3.703 kB / 0.7641 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6149, allocations: 4.438 kB / 0.7641 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.6149, allocations: 0.7031 kB / 0.7641 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.6151, allocations: 237.2 kB / 0.7644 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6151, allocations: 1.719 kB / 0.7644 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.6151, allocations: 13.81 kB / 0.7644 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6151, allocations: 4 kB / 0.7644 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.6152, allocations: 5.109 kB / 0.7644 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6152, allocations: 2.844 kB / 0.7644 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6152, allocations: 3.938 kB / 0.7644 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.6153, allocations: 188.6 kB / 0.7646 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.6154, allocations: 90.08 kB / 0.7647 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.6154, allocations: 2.109 kB / 0.7647 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.6156, allocations: 24.14 kB / 0.7647 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.6157, allocations: 8.969 kB / 0.7647 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.6157, allocations: 10.92 kB / 0.7647 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001329/0.6158, allocations: 159.7 kB / 0.7648 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6158, allocations: 0 / 0.7648 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003112/0.6161, allocations: 28.34 kB / 0.7649 GB, free: 5.047 MB / 0.5762 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.0005469/0.6167, allocations: 0.7592 MB / 0.7656 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.6169, allocations: 66.84 kB / 0.7657 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6169, allocations: 4.25 kB / 0.7657 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.6169, allocations: 30.05 kB / 0.7657 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.6172, allocations: 21.14 kB / 0.7657 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.6195, allocations: 1.922 MB / 0.7676 GB, free: 18.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.6199, allocations: 0.7353 MB / 0.7683 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.62, allocations: 56.02 kB / 0.7684 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.6201, allocations: 44.48 kB / 0.7684 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6201, allocations: 0 / 0.7684 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.6492, allocations: 4.247 MB / 0.7726 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.827, allocations: 12.7 kB / 0.7726 GB, free: 17.63 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.653927767183632] Failed to read output from testmodel.py, exit status != 0: 8.896660800091922 8.911427128 8.298084217 Calling exit ...