Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.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.001746/0.001746, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002229/0.002229, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.136/3.136, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002018/0.002018, allocations: 71.89 kB / 1.149 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 176.1 MB / 1.321 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003294/1.168, allocations: 1.81 MB / 1.323 GB, free: 6.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001205/1.169, allocations: 0.6003 MB / 1.324 GB, free: 5.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/1.169, allocations: 5.438 kB / 1.324 GB, free: 5.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001918/1.169, allocations: 22.67 kB / 1.324 GB, free: 5.723 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/1.17, allocations: 126.7 kB / 1.324 GB, free: 5.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/1.17, allocations: 145.9 kB / 1.324 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/1.17, allocations: 228.9 kB / 1.324 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.17, allocations: 38.27 kB / 1.324 GB, free: 5.375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/1.171, allocations: 106.8 kB / 1.324 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0062/1.177, allocations: 0.8082 MB / 1.325 GB, free: 4.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/1.177, allocations: 15.78 kB / 1.325 GB, free: 4.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/1.177, allocations: 32 kB / 1.325 GB, free: 4.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/1.177, allocations: 47.61 kB / 1.325 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/1.177, allocations: 91.62 kB / 1.325 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/1.178, allocations: 208.9 kB / 1.326 GB, free: 4.723 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.178, allocations: 0 / 1.326 GB, free: 4.723 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.178, allocations: 0 / 1.326 GB, free: 4.723 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.178, allocations: 1.094 kB / 1.326 GB, free: 4.723 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001033/1.179, allocations: 0.5437 MB / 1.326 GB, free: 4.184 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.179, allocations: 13.61 kB / 1.326 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/1.179, allocations: 9.75 kB / 1.326 GB, free: 4.172 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/1.179, allocations: 46.67 kB / 1.326 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/1.179, allocations: 19.16 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/1.179, allocations: 242.1 kB / 1.326 GB, free: 3.855 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/1.179, allocations: 11.19 kB / 1.326 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/1.179, allocations: 14.28 kB / 1.326 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/1.18, allocations: 95.42 kB / 1.327 GB, free: 3.781 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.18, allocations: 0 / 1.327 GB, free: 3.781 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/1.18, allocations: 8.781 kB / 1.327 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.18, allocations: 6.938 kB / 1.327 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/1.18, allocations: 55.94 kB / 1.327 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009507/1.181, allocations: 469.7 kB / 1.327 GB, free: 3.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/1.181, allocations: 77.7 kB / 1.327 GB, free: 3.266 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/1.181, allocations: 29.12 kB / 1.327 GB, free: 3.246 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/1.181, allocations: 1.5 kB / 1.327 GB, free: 3.246 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/1.181, allocations: 97.84 kB / 1.327 GB, free: 3.164 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/1.181, allocations: 1.531 kB / 1.327 GB, free: 3.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0003537/1.181, allocations: 143 kB / 1.327 GB, free: 3.086 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.181, allocations: 53.72 kB / 1.327 GB, free: 3.023 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/1.182, allocations: 194.1 kB / 1.328 GB, free: 2.871 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/1.182, allocations: 34.23 kB / 1.328 GB, free: 2.836 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.182, allocations: 124.8 kB / 1.328 GB, free: 2.719 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/1.182, allocations: 37 kB / 1.328 GB, free: 2.688 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.182, allocations: 60.05 kB / 1.328 GB, free: 2.645 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.182, allocations: 326.2 kB / 1.328 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/1.182, allocations: 32.98 kB / 1.328 GB, free: 2.305 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.183, allocations: 132.9 kB / 1.328 GB, free: 2.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/1.183, allocations: 106.1 kB / 1.328 GB, free: 2.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.183, allocations: 4.875 kB / 1.328 GB, free: 2.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002737/1.183, allocations: 145.5 kB / 1.329 GB, free: 2.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.183, allocations: 9.562 kB / 1.329 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.183, allocations: 1.188 kB / 1.329 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.183, allocations: 2.219 kB / 1.329 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.183, allocations: 21.33 kB / 1.329 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.183, allocations: 6.25 kB / 1.329 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/1.183, allocations: 25.19 kB / 1.329 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/1.183, allocations: 6 kB / 1.329 GB, free: 1.984 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001857/1.184, allocations: 134.7 kB / 1.329 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/1.184, allocations: 18.75 kB / 1.329 GB, free: 1.844 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/1.184, allocations: 136.5 kB / 1.329 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.184, allocations: 1.469 kB / 1.329 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.184, allocations: 1.438 kB / 1.329 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.184, allocations: 4 kB / 1.329 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/1.185, allocations: 455.8 kB / 1.329 GB, free: 1.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.185, allocations: 4 kB / 1.329 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/1.185, allocations: 9.375 kB / 1.329 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.185, allocations: 1.125 kB / 1.329 GB, free: 1.328 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.185, allocations: 5.172 kB / 1.329 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.185, allocations: 1.156 kB / 1.329 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.185, allocations: 0 / 1.329 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/1.185, allocations: 222.4 kB / 1.33 GB, free: 1.145 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/1.185, allocations: 103.8 kB / 1.33 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.185, allocations: 9.016 kB / 1.33 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.185, allocations: 4.375 kB / 1.33 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/1.185, allocations: 18.5 kB / 1.33 GB, free: 1.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/1.185, allocations: 6.688 kB / 1.33 GB, free: 1.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001399/1.185, allocations: 142.7 kB / 1.33 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.185, allocations: 7.938 kB / 1.33 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003346/1.186, allocations: 41.09 kB / 1.33 GB, free: 0.8867 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008122/1.186, allocations: 0.8092 MB / 1.331 GB, free: 164 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002418/1.187, allocations: 86.34 kB / 1.331 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.187, allocations: 320 / 1.331 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/1.187, allocations: 39.64 kB / 1.331 GB, free: 116 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/1.187, allocations: 52.89 kB / 1.331 GB, free: 84 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.19, allocations: 1.851 MB / 1.333 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.19, allocations: 0.7233 MB / 1.333 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.646e-05/1.19, allocations: 27.27 kB / 1.333 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/1.19, allocations: 50.41 kB / 1.334 GB, free: 13.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.143e-06/1.19, allocations: 0 / 1.334 GB, free: 13.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/1.216, allocations: 5.166 MB / 1.339 GB, free: 11.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/10.42, allocations: 5.656 kB / 1.339 GB, free: 11.07 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.306917709007394] Failed to read output from testmodel.py, exit status != 0: 10.549781390000135 10.564652687 9.38395218 Calling exit ...