Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005426/0.005426, allocations: 101.5 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 193.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6548/0.6548, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 68.33 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1201, allocations: 76.19 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002078/0.1223, allocations: 1.555 MB / 0.5574 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.1231, allocations: 0.6476 MB / 0.558 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.1231, allocations: 4 kB / 0.558 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.1232, allocations: 3.938 kB / 0.558 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.1232, allocations: 7.922 kB / 0.558 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1234, allocations: 55.88 kB / 0.5581 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.1235, allocations: 31.92 kB / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.1236, allocations: 19.94 kB / 0.5581 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.1236, allocations: 15.92 kB / 0.5581 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1237, allocations: 15.91 kB / 0.5581 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1237, allocations: 4 kB / 0.5581 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1239, allocations: 95.91 kB / 0.5582 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.1239, allocations: 3.938 kB / 0.5582 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1239, allocations: 27.84 kB / 0.5583 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.124, allocations: 84.06 kB / 0.5583 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1241, allocations: 0 / 0.5583 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1241, allocations: 4 kB / 0.5584 GB, free: 8.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1241, allocations: 0 / 0.5584 GB, free: 8.117 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003466/0.1244, allocations: 363.3 kB / 0.5587 GB, free: 7.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1245, allocations: 12.02 kB / 0.5587 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.1245, allocations: 30.75 kB / 0.5587 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.1245, allocations: 4.938 kB / 0.5587 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.1246, allocations: 172.2 kB / 0.5589 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1246, allocations: 4.375 kB / 0.5589 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.1246, allocations: 4.375 kB / 0.5589 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1248, allocations: 61.8 kB / 0.559 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1248, allocations: 0 / 0.559 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1248, allocations: 0 / 0.559 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1248, allocations: 0 / 0.559 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1249, allocations: 23.98 kB / 0.559 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1252, allocations: 284.7 kB / 0.5593 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.1253, allocations: 38.55 kB / 0.5593 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.1253, allocations: 20.86 kB / 0.5593 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003939/0.1257, allocations: 0.5583 MB / 0.5599 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1257, allocations: 34.56 kB / 0.5599 GB, free: 6.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1257, allocations: 0 / 0.5599 GB, free: 6.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.1259, allocations: 69.61 kB / 0.56 GB, free: 6.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.126, allocations: 51.41 kB / 0.56 GB, free: 6.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.1261, allocations: 121.8 kB / 0.5601 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1261, allocations: 29.7 kB / 0.5602 GB, free: 5.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1261, allocations: 92.03 kB / 0.5603 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.1261, allocations: 4 kB / 0.5603 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1262, allocations: 13.84 kB / 0.5603 GB, free: 5.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.1262, allocations: 326.8 kB / 0.5606 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.1263, allocations: 8 kB / 0.5606 GB, free: 5.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.1263, allocations: 11.98 kB / 0.5606 GB, free: 5.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.1264, allocations: 24.84 kB / 0.5606 GB, free: 5.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1264, allocations: 0 / 0.5606 GB, free: 5.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.1265, allocations: 65.59 kB / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.1265, allocations: 4 kB / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.1266, allocations: 0 / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.1266, allocations: 0 / 0.5607 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.1266, allocations: 4 kB / 0.5607 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1266, allocations: 7.984 kB / 0.5607 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.1267, allocations: 0 / 0.5607 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1267, allocations: 3.938 kB / 0.5607 GB, free: 5.344 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * 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.635e-05/0.1267, allocations: 113.8 kB / 0.5608 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1268, allocations: 11.94 kB / 0.5608 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1269, allocations: 61.14 kB / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1269, allocations: 0 / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1269, allocations: 0 / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-06/0.1269, allocations: 0 / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1271, allocations: 169.6 kB / 0.561 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1271, allocations: 0 / 0.561 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.1271, allocations: 11.98 kB / 0.5611 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1271, allocations: 3.938 kB / 0.5611 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1272, allocations: 4.031 kB / 0.5611 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1272, allocations: 4 kB / 0.5611 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1272, allocations: 0 / 0.5611 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1273, allocations: 151.5 kB / 0.5612 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.1274, allocations: 85.02 kB / 0.5613 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1274, allocations: 0 / 0.5613 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.1274, allocations: 0 / 0.5613 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.1275, allocations: 11.97 kB / 0.5613 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1275, allocations: 3.984 kB / 0.5613 GB, free: 4.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.1275, allocations: 104 kB / 0.5614 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1275, allocations: 0 / 0.5614 GB, free: 4.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1277, allocations: 15.98 kB / 0.5614 GB, free: 4.508 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * 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.0003701/0.1281, allocations: 0.689 MB / 0.5621 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1282, allocations: 19.98 kB / 0.5621 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1283, allocations: 3.938 kB / 0.5621 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.1283, allocations: 8 kB / 0.5621 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1285, allocations: 13.03 kB / 0.5621 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1295, allocations: 1.315 MB / 0.5634 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.1297, allocations: 0.6809 MB / 0.5641 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.232e-05/0.1297, allocations: 4 kB / 0.5641 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1298, allocations: 15.44 kB / 0.5641 GB, free: 1.633 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1298, allocations: 0 / 0.5641 GB, free: 1.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2123/0.3421, allocations: 1.333 MB / 0.5654 GB, free: 380 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.3423, allocations: 189.8 kB / 0.5656 GB, free: 116 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.522, allocations: 0 / 0.5656 GB, free: 116 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)