Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.002296/0.002297, allocations: 96.97 kB / 15.69 MB, free: 480 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.003202/0.003202, allocations: 176.3 kB / 16.57 MB, free: 6.395 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.531/2.531, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7879/0.7879, allocations: 113.7 MB / 405.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 13.62 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.12 MB / 0.5567 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0004496/0.1374, allocations: 299.1 kB / 0.557 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1385, allocations: 1.196 MB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-06/0.1386, allocations: 4 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.2e-06/0.1386, allocations: 0 / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.883e-06/0.1386, allocations: 0 / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1387, allocations: 43.81 kB / 0.5582 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 1.499e-05/0.1388, allocations: 4 kB / 0.5582 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.93e-05/0.1388, allocations: 4 kB / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-06/0.1388, allocations: 0 / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.1388, allocations: 0 / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-06/0.1388, allocations: 0 / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.139, allocations: 95.83 kB / 0.5583 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.139, allocations: 0 / 0.5583 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.139, allocations: 29.64 kB / 0.5584 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.976e-05/0.1391, allocations: 35.95 kB / 0.5584 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.1391, allocations: 0 / 0.5584 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1391, allocations: 3.938 kB / 0.5584 GB, free: 9.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.004e-06/0.1391, allocations: 0 / 0.5584 GB, free: 9.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001627/0.1393, allocations: 327.4 kB / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.301e-05/0.1393, allocations: 12.03 kB / 0.5587 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.746e-05/0.1393, allocations: 30.56 kB / 0.5588 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-06/0.1393, allocations: 0 / 0.5588 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.94e-05/0.1394, allocations: 167.1 kB / 0.5589 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-06/0.1394, allocations: 0 / 0.5589 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-06/0.1394, allocations: 0 / 0.5589 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.504e-05/0.1395, allocations: 37.64 kB / 0.5589 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-06/0.1395, allocations: 0 / 0.5589 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-06/0.1395, allocations: 4 kB / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1395, allocations: 0 / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.046e-05/0.1395, allocations: 3.938 kB / 0.559 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.543e-05/0.1396, allocations: 145.7 kB / 0.5591 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.327e-05/0.1396, allocations: 26.56 kB / 0.5591 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/0.14, allocations: 0.5623 MB / 0.5597 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.1401, allocations: 30.56 kB / 0.5597 GB, free: 8.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1401, allocations: 0 / 0.5597 GB, free: 8.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 7.242e-05/0.1401, allocations: 45.58 kB / 0.5597 GB, free: 8.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.1402, allocations: 55.41 kB / 0.5598 GB, free: 8.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.508e-05/0.1402, allocations: 89.86 kB / 0.5599 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.1402, allocations: 25.7 kB / 0.5599 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.1403, allocations: 84.27 kB / 0.56 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.1403, allocations: 3.906 kB / 0.56 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-06/0.1403, allocations: 0 / 0.56 GB, free: 7.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.1403, allocations: 310.8 kB / 0.5603 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.1404, allocations: 4 kB / 0.5603 GB, free: 7.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-06/0.1404, allocations: 0 / 0.5603 GB, free: 7.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-06/0.1404, allocations: 3.938 kB / 0.5603 GB, free: 7.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1404, allocations: 0 / 0.5603 GB, free: 7.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.595e-05/0.1404, allocations: 49.69 kB / 0.5603 GB, free: 7.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.1404, allocations: 4 kB / 0.5603 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1405, allocations: 4 kB / 0.5603 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.1405, allocations: 0 / 0.5603 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.436e-05/0.1405, allocations: 4 kB / 0.5604 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1405, allocations: 3.953 kB / 0.5604 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-06/0.1405, allocations: 0 / 0.5604 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-06/0.1405, allocations: 0 / 0.5604 GB, free: 7.551 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 (1): * Single equations (assignments): 1 * 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 4.559e-05/0.1406, allocations: 105.8 kB / 0.5605 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.1406, allocations: 0 / 0.5605 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.1407, allocations: 49.12 kB / 0.5605 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1407, allocations: 3.938 kB / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1407, allocations: 0 / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1407, allocations: 3.953 kB / 0.5605 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.1407, allocations: 149.6 kB / 0.5607 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1408, allocations: 4 kB / 0.5607 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.1408, allocations: 0 / 0.5607 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1408, allocations: 0 / 0.5607 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.1408, allocations: 4.031 kB / 0.5607 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1408, allocations: 0 / 0.5607 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1408, allocations: 0 / 0.5607 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.668e-05/0.1409, allocations: 65.08 kB / 0.5607 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.1409, allocations: 81.05 kB / 0.5608 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-06/0.1409, allocations: 0 / 0.5608 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-06/0.1409, allocations: 0 / 0.5608 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-06/0.1409, allocations: 8.031 kB / 0.5608 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1409, allocations: 0 / 0.5608 GB, free: 6.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.749e-05/0.1409, allocations: 75.28 kB / 0.5609 GB, free: 6.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.141, allocations: 0 / 0.5609 GB, free: 6.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001628/0.1411, allocations: 4 kB / 0.5609 GB, free: 6.902 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 (1): * Single equations (assignments): 1 * 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.0002803/0.1414, allocations: 0.6053 MB / 0.5615 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 3.034e-05/0.1414, allocations: 4 kB / 0.5615 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1415, allocations: 0 / 0.5615 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-06/0.1415, allocations: 11.92 kB / 0.5615 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.248e-05/0.1415, allocations: 2.031 kB / 0.5615 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.1417, allocations: 112.4 kB / 0.5616 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.1419, allocations: 0.677 MB / 0.5623 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.658e-05/0.1419, allocations: 4.125 kB / 0.5623 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.1419, allocations: 7.438 kB / 0.5623 GB, free: 5.387 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1419, allocations: 0 / 0.5623 GB, free: 5.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.658/0.7999, allocations: 0.83 MB / 0.5631 GB, free: 4.703 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/0.8004, allocations: 189 kB / 0.5633 GB, free: 4.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.757, allocations: 0 / 0.5633 GB, free: 4.461 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: