Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.0009567/0.0009567, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 294.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8824/0.8824, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 91.86 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3715, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001526/0.3731, allocations: 0.6136 MB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3746, allocations: 1.381 MB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.3747, allocations: 0 / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.3747, allocations: 0 / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.3748, allocations: 7.938 kB / 0.7691 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.3753, allocations: 183.2 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3755, allocations: 47.95 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.3755, allocations: 4 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.3755, allocations: 15.92 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.3756, allocations: 31.91 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3756, allocations: 3.938 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.376, allocations: 203.7 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.376, allocations: 15.98 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.376, allocations: 23.81 kB / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3763, allocations: 195.2 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3763, allocations: 0 / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3763, allocations: 0 / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3763, allocations: 0 / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003861/0.3767, allocations: 437.2 kB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3768, allocations: 12.02 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3768, allocations: 8.844 kB / 0.7702 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3769, allocations: 180.2 kB / 0.7704 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3769, allocations: 4.375 kB / 0.7704 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.377, allocations: 4.375 kB / 0.7704 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3771, allocations: 99.75 kB / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.3771, allocations: 0 / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3771, allocations: 0 / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.3771, allocations: 0 / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.3772, allocations: 63.89 kB / 0.7705 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3774, allocations: 173.7 kB / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3775, allocations: 86.58 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.3776, allocations: 64.89 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.3776, allocations: 0 / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3776, allocations: 42.5 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3776, allocations: 0 / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003665/0.378, allocations: 255.1 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3781, allocations: 81.11 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3782, allocations: 148.4 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3782, allocations: 29.7 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3783, allocations: 92.08 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3783, allocations: 15.75 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3783, allocations: 29.7 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.3784, allocations: 318.8 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3786, allocations: 99.94 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3787, allocations: 99.94 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3789, allocations: 285.9 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3789, allocations: 4.031 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003185/0.3793, allocations: 320.8 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.3793, allocations: 75.31 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3793, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3793, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3793, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3794, allocations: 7.938 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3795, allocations: 8 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3795, allocations: 4 kB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.654e-05/0.3796, allocations: 154 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.3796, allocations: 15.83 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.3796, allocations: 4.25 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3797, allocations: 0 / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3797, allocations: 0 / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3797, allocations: 92.95 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3797, allocations: 0 / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.3798, allocations: 4 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3798, allocations: 7.984 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002738/0.3801, allocations: 338 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002985/0.3804, allocations: 376.3 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.736e-05/0.3805, allocations: 75.95 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.3806, allocations: 106.2 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Backend: time 2.3e-07/0.3806, allocations: 0 / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006925/0.3813, allocations: 447.8 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004067/0.3817, allocations: 0.6458 MB / 0.7748 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Templates: time 0.004101/0.3858, allocations: 2.065 MB / 0.7769 GB, free: 9.445 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)