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.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.0008156/0.0008156, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008365/0.0008365, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5532/0.5532, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.56e-05, allocations: 4.031 kB / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00138/0.001406, allocations: 0.5689 MB / 0.5548 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.002825, allocations: 1.272 MB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.002847, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.002863, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.002869, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.003268, allocations: 79.61 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.035e-05/0.003318, allocations: 7.984 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.003365, allocations: 8 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.00339, allocations: 0 / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.003433, allocations: 0 / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.003444, allocations: 0 / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.003717, allocations: 107.8 kB / 0.5563 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.003728, allocations: 3.984 kB / 0.5563 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.003748, allocations: 3.984 kB / 0.5563 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003885, allocations: 79.73 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.003888, allocations: 0 / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003889, allocations: 0 / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.003894, allocations: 4 kB / 0.5563 GB, free: 0.5469 MB / 0.5105 GB 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.0002566/0.00415, allocations: 254.2 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.004196, allocations: 8.625 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.004225, allocations: 34.75 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.00425, allocations: 0.9375 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.004477, allocations: 105.8 kB / 0.5567 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004489, allocations: 4.375 kB / 0.5567 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.004496, allocations: 384 / 0.5567 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.004589, allocations: 34.25 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004596, allocations: 192 / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004605, allocations: 8.125 kB / 0.5568 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004609, allocations: 0 / 0.5568 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.004628, allocations: 3.938 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.004754, allocations: 120.8 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.004791, allocations: 14.58 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.004806, allocations: 8.953 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.00507, allocations: 39.95 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.00509, allocations: 34.56 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.005091, allocations: 0 / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.005219, allocations: 41.58 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.005247, allocations: 51.41 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.264e-05/0.00527, allocations: 89.86 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005278, allocations: 29.7 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.005295, allocations: 80.14 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.00532, allocations: 0 / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.005344, allocations: 17.7 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.005421, allocations: 310.8 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.005431, allocations: 128 / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.005437, allocations: 8 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.005458, allocations: 4.859 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00546, allocations: 4 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.04e-05/0.0055, allocations: 37.64 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005513, allocations: 4 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005518, allocations: 3.938 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.005531, allocations: 3.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.005585, allocations: 7.984 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.00559, allocations: 96 / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-06/0.005598, allocations: 4 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.005604, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.005657, allocations: 113.8 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.005662, allocations: 3.953 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.648e-05/0.005738, allocations: 44.62 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.005741, allocations: 3.938 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.005749, allocations: 4 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005752, allocations: 0 / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.762e-05/0.005809, allocations: 116.8 kB / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.00581, allocations: 0 / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.005826, allocations: 4 kB / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005828, allocations: 0 / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.005834, allocations: 0 / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005837, allocations: 3.938 kB / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.00584, allocations: 4 kB / 0.5579 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.813e-05/0.005898, allocations: 61.12 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-06/0.005905, allocations: 3.984 kB / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005915, allocations: 0 / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-06/0.00592, allocations: 7.969 kB / 0.558 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.005933, allocations: 4 kB / 0.558 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005937, allocations: 0 / 0.558 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.005963, allocations: 83.3 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.005963, allocations: 3.938 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001515/0.006114, allocations: 11.94 kB / 0.5581 GB, free: 14.47 MB / 0.5261 GB 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 (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.0004049/0.006519, allocations: 0.6008 MB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.006612, allocations: 4 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.006615, allocations: 4.094 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-06/0.006619, allocations: 3.938 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.006742, allocations: 14.11 kB / 0.5587 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.007085, allocations: 118.4 kB / 0.5588 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.007136, allocations: 55.36 kB / 0.5589 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.007161, allocations: 4 kB / 0.5589 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.007186, allocations: 12.48 kB / 0.5589 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/0.007186, allocations: 0 / 0.5589 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.02605, allocations: 1.758 MB / 0.5606 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.028, allocations: 2.406 kB / 0.5606 GB, free: 11.94 MB / 0.5261 GB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.524684588424861] Failed to read output from testmodel.py, exit status != 0: 7.1099713100120425 7.119700656 7.113777361 Calling exit ...