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.001391/0.001391, allocations: 103.1 kB / 16.27 MB, free: 6.41 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.001643/0.001643, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7288/0.7288, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002296/0.3362, allocations: 1.483 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.337, allocations: 0.647 MB / 0.5694 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.337, allocations: 1.406 kB / 0.5694 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.337, allocations: 5.203 kB / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.3371, allocations: 7.344 kB / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.3374, allocations: 81.36 kB / 0.5694 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.3375, allocations: 35.89 kB / 0.5695 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.3376, allocations: 18.48 kB / 0.5695 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.3376, allocations: 15.75 kB / 0.5695 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.3377, allocations: 24.42 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3377, allocations: 4.281 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3379, allocations: 98.59 kB / 0.5696 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3379, allocations: 11.06 kB / 0.5696 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3379, allocations: 13.19 kB / 0.5697 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3381, allocations: 93.25 kB / 0.5697 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3381, allocations: 0.5625 kB / 0.5697 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3381, allocations: 0 / 0.5697 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3381, allocations: 1.406 kB / 0.5697 GB, free: 31.2 MB / 446.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.0003074/0.3384, allocations: 358.5 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3384, allocations: 11.41 kB / 0.5701 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.3385, allocations: 41.08 kB / 0.5701 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.3385, allocations: 3.656 kB / 0.5701 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.866e-05/0.3386, allocations: 173.3 kB / 0.5703 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3386, allocations: 1.531 kB / 0.5703 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3386, allocations: 7.562 kB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3387, allocations: 58.03 kB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3387, allocations: 0 / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3388, allocations: 5.375 kB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3388, allocations: 1.625 kB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.3388, allocations: 23.56 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.3391, allocations: 281.5 kB / 0.5707 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.3392, allocations: 31.42 kB / 0.5707 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.3392, allocations: 19.02 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.3396, allocations: 0.5574 MB / 0.5713 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3396, allocations: 35.78 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3396, allocations: 1.219 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.3398, allocations: 66.84 kB / 0.5714 GB, free: 29.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.3398, allocations: 54.06 kB / 0.5714 GB, free: 29.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.3399, allocations: 125.6 kB / 0.5715 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.3399, allocations: 26.2 kB / 0.5716 GB, free: 29.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.3399, allocations: 89.64 kB / 0.5716 GB, free: 29.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.34, allocations: 8.938 kB / 0.5717 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.34, allocations: 18.28 kB / 0.5717 GB, free: 29.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.34, allocations: 318.3 kB / 0.572 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.3401, allocations: 11.75 kB / 0.572 GB, free: 28.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.3401, allocations: 11.36 kB / 0.572 GB, free: 28.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.3402, allocations: 32.91 kB / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3402, allocations: 0 / 0.572 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.3403, allocations: 55.17 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.3403, allocations: 4.812 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3403, allocations: 4.609 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3404, allocations: 5.719 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.3404, allocations: 6.109 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3404, allocations: 2.156 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.3405, allocations: 5.781 kB / 0.5721 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3405, allocations: 8.906 kB / 0.5721 GB, free: 28.75 MB / 446.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 4.159e-05/0.3405, allocations: 108.9 kB / 0.5722 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3406, allocations: 7.422 kB / 0.5722 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.3407, allocations: 65 kB / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3407, allocations: 1.672 kB / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3407, allocations: 1.5 kB / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3407, allocations: 0.7812 kB / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3408, allocations: 169.5 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3409, allocations: 0 / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3409, allocations: 7.797 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3409, allocations: 0.5625 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3409, allocations: 2.031 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3409, allocations: 1.938 kB / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3409, allocations: 0 / 0.5725 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.341, allocations: 166.4 kB / 0.5726 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.3411, allocations: 81.05 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3411, allocations: 0 / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.3412, allocations: 2.594 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.3412, allocations: 3.141 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3412, allocations: 0.6562 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.3412, allocations: 103 kB / 0.5728 GB, free: 28.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3412, allocations: 0 / 0.5728 GB, free: 28.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3415, allocations: 17.8 kB / 0.5728 GB, free: 28.04 MB / 446.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.000278/0.3418, allocations: 0.6918 MB / 0.5735 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.3419, allocations: 28.02 kB / 0.5735 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3419, allocations: 1.5 kB / 0.5735 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.3419, allocations: 10.55 kB / 0.5735 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.3421, allocations: 11.05 kB / 0.5735 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.343, allocations: 1.301 MB / 0.5748 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.3431, allocations: 0.6834 MB / 0.5755 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.3432, allocations: 11.66 kB / 0.5755 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3432, allocations: 19.91 kB / 0.5755 GB, free: 25.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3432, allocations: 0 / 0.5755 GB, free: 25.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6803/1.024, allocations: 1.466 MB / 0.5769 GB, free: 25.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.15, allocations: 10.5 kB / 0.577 GB, free: 25.09 MB / 446.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)