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.001723/0.001723, allocations: 96.5 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003337/0.003337, allocations: 174.2 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.617/2.617, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.127/1.127, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004873, allocations: 13.28 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2723, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.003224/0.2756, allocations: 1.192 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2773, allocations: 0.5858 MB / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.2774, allocations: 0 / 0.5585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.2774, allocations: 3.984 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.2775, allocations: 11.98 kB / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.278, allocations: 51.81 kB / 0.5585 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2781, allocations: 27.91 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2783, allocations: 15.98 kB / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2784, allocations: 11.94 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2785, allocations: 15.92 kB / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2785, allocations: 0 / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.2788, allocations: 91.89 kB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2789, allocations: 0 / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.2789, allocations: 37.64 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.2791, allocations: 68.06 kB / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2792, allocations: 0 / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.2792, allocations: 0 / 0.5588 GB, free: 9.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2792, allocations: 0 / 0.5588 GB, free: 9.555 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.0006449/0.2798, allocations: 351.2 kB / 0.5591 GB, free: 9.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.2799, allocations: 8.031 kB / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.28, allocations: 34.56 kB / 0.5592 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.28, allocations: 7.906 kB / 0.5592 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.2802, allocations: 175 kB / 0.5593 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2803, allocations: 0 / 0.5593 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2803, allocations: 4 kB / 0.5593 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2805, allocations: 57.58 kB / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2805, allocations: 0 / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2806, allocations: 4 kB / 0.5594 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2806, allocations: 0 / 0.5594 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2807, allocations: 39.97 kB / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.2813, allocations: 272.8 kB / 0.5597 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2814, allocations: 30.52 kB / 0.5597 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/0.2822, allocations: 0.5662 MB / 0.5603 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.2822, allocations: 34.56 kB / 0.5603 GB, free: 7.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2823, allocations: 0 / 0.5603 GB, free: 7.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005034/0.2828, allocations: 69.58 kB / 0.5604 GB, free: 7.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2828, allocations: 59.47 kB / 0.5604 GB, free: 7.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.283, allocations: 121.8 kB / 0.5605 GB, free: 7.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.283, allocations: 25.7 kB / 0.5606 GB, free: 7.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.2831, allocations: 96 kB / 0.5607 GB, free: 7.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2831, allocations: 7.906 kB / 0.5607 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2832, allocations: 0 / 0.5607 GB, free: 7.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.2834, allocations: 314.8 kB / 0.561 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.2835, allocations: 15.98 kB / 0.561 GB, free: 6.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.2835, allocations: 15.94 kB / 0.561 GB, free: 6.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.2836, allocations: 15.98 kB / 0.561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.2836, allocations: 3.953 kB / 0.561 GB, free: 6.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.2838, allocations: 53.69 kB / 0.5611 GB, free: 6.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.2839, allocations: 6.5 kB / 0.5611 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2839, allocations: 4.094 kB / 0.5611 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2839, allocations: 4 kB / 0.5611 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.284, allocations: 7.984 kB / 0.5611 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.284, allocations: 0 / 0.5611 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.2841, allocations: 4 kB / 0.5611 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2841, allocations: 0 / 0.5611 GB, free: 6.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.2843, allocations: 115.8 kB / 0.5612 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2843, allocations: 7.859 kB / 0.5612 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.2845, allocations: 69.2 kB / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2845, allocations: 4 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2845, allocations: 0 / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2845, allocations: 3.984 kB / 0.5613 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2847, allocations: 165.7 kB / 0.5614 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2847, allocations: 0 / 0.5614 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.2848, allocations: 7.953 kB / 0.5615 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2848, allocations: 0 / 0.5615 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.2848, allocations: 4.031 kB / 0.5615 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.2848, allocations: 4 kB / 0.5615 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2848, allocations: 4 kB / 0.5615 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.285, allocations: 159.4 kB / 0.5616 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.2851, allocations: 81.09 kB / 0.5617 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.2851, allocations: 7.953 kB / 0.5617 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2853, allocations: 4.031 kB / 0.5617 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2853, allocations: 7.984 kB / 0.5617 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2853, allocations: 0 / 0.5617 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.69e-05/0.2854, allocations: 93.02 kB / 0.5618 GB, free: 6.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2854, allocations: 4 kB / 0.5618 GB, free: 6.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.2859, allocations: 16 kB / 0.5618 GB, free: 5.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009058/0.2868, allocations: 0.7052 MB / 0.5625 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.287, allocations: 27.98 kB / 0.5625 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.287, allocations: 0 / 0.5625 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.2871, allocations: 16.08 kB / 0.5626 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2874, allocations: 11.95 kB / 0.5626 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2887, allocations: 466.7 kB / 0.563 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.2893, allocations: 0.6849 MB / 0.5637 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.2894, allocations: 4 kB / 0.5637 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.2894, allocations: 15.42 kB / 0.5637 GB, free: 3.973 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2894, allocations: 0 / 0.5637 GB, free: 3.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3102, allocations: 1.236 MB / 0.5649 GB, free: 2.848 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004533/0.3108, allocations: 165.9 kB / 0.5651 GB, free: 2.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/3.361, allocations: 0 / 0.5651 GB, free: 2.609 MB / 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/linux/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) Environment - environmentSimulation: