Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",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.006262/0.006262, allocations: 107.4 kB / 15.74 MB, free: 5.996 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.001503/0.001503, allocations: 197 kB / 16.67 MB, free: 5.918 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 292.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8782/0.8782, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 91.86 kB / 0.681 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4076, allocations: 86.99 MB / 0.766 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001612/0.4092, allocations: 0.625 MB / 0.7666 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.4096, allocations: 207.1 kB / 0.7668 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.4097, allocations: 0 / 0.7668 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.4097, allocations: 3.938 kB / 0.7668 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.4099, allocations: 7.938 kB / 0.7668 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.4101, allocations: 75.75 kB / 0.7668 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.4102, allocations: 31.91 kB / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.4102, allocations: 0 / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.4103, allocations: 19.98 kB / 0.7669 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.4103, allocations: 23.84 kB / 0.7669 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4103, allocations: 7.938 kB / 0.7669 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4105, allocations: 103.8 kB / 0.767 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.4105, allocations: 7.938 kB / 0.767 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.4106, allocations: 15.92 kB / 0.767 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.4107, allocations: 99.75 kB / 0.7671 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4108, allocations: 0 / 0.7671 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4108, allocations: 0 / 0.7671 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4108, allocations: 0 / 0.7671 GB, free: 2.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005344/0.4113, allocations: 370.3 kB / 0.7675 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4114, allocations: 12.03 kB / 0.7675 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.4114, allocations: 38.62 kB / 0.7675 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.4115, allocations: 4.844 kB / 0.7675 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4116, allocations: 184.2 kB / 0.7677 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4116, allocations: 384 / 0.7677 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4117, allocations: 4.375 kB / 0.7677 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4118, allocations: 58.23 kB / 0.7678 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4118, allocations: 7.938 kB / 0.7678 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4119, allocations: 0 / 0.7678 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4119, allocations: 0 / 0.7678 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.412, allocations: 35.95 kB / 0.7678 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.4123, allocations: 248.9 kB / 0.7681 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.4125, allocations: 70.47 kB / 0.7681 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.4126, allocations: 24.94 kB / 0.7682 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.4126, allocations: 0 / 0.7682 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4126, allocations: 30.56 kB / 0.7682 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4126, allocations: 0 / 0.7682 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02657/0.4392, allocations: 1.616 MB / 0.7698 GB, free: 15.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4393, allocations: 59.34 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4394, allocations: 113.8 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.4395, allocations: 25.7 kB / 0.77 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.4395, allocations: 92.12 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.4396, allocations: 31.56 kB / 0.7701 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.4398, allocations: 21.7 kB / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.4399, allocations: 322.8 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.4404, allocations: 139.9 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.4408, allocations: 139.9 kB / 0.7707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.4418, allocations: 309.2 kB / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4418, allocations: 0 / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001119/0.4429, allocations: 337.4 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4429, allocations: 8 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4429, allocations: 80 / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.443, allocations: 0 / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4445, allocations: 67.88 kB / 0.7714 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4445, allocations: 3.984 kB / 0.7714 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4459, allocations: 47.94 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.4459, allocations: 4 kB / 0.7714 GB, free: 14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001682/0.4461, allocations: 120.2 kB / 0.7715 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.4462, allocations: 4.422 kB / 0.7715 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.4463, allocations: 24.36 kB / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4463, allocations: 0 / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4463, allocations: 3.984 kB / 0.7716 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4463, allocations: 0 / 0.7716 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.452, allocations: 0.8452 MB / 0.7724 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.452, allocations: 3.938 kB / 0.7724 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4531, allocations: 51.94 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4531, allocations: 4 kB / 0.7724 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.4532, allocations: 7.938 kB / 0.7724 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4532, allocations: 64 / 0.7724 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4532, allocations: 12.05 kB / 0.7725 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.4541, allocations: 325 kB / 0.7728 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.4542, allocations: 81.09 kB / 0.7728 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.4542, allocations: 11.94 kB / 0.7729 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.4553, allocations: 35.95 kB / 0.7729 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4553, allocations: 7.984 kB / 0.7729 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.4553, allocations: 4 kB / 0.7729 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.684e-05/0.4554, allocations: 99.3 kB / 0.773 GB, free: 12.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4554, allocations: 0 / 0.773 GB, free: 12.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003837/0.4558, allocations: 92 kB / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001254/0.4571, allocations: 0.874 MB / 0.7739 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009587/0.458, allocations: 251.7 kB / 0.7742 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4581, allocations: 0 / 0.7742 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.4585, allocations: 96.06 kB / 0.7743 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4587, allocations: 8 kB / 0.7743 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.4651, allocations: 2.669 MB / 0.7769 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4653, allocations: 0.6922 MB / 0.7776 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004119/0.4657, allocations: 48 kB / 0.7776 GB, free: 7.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.4662, allocations: 23.42 kB / 0.7776 GB, free: 7.367 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4662, allocations: 0 / 0.7776 GB, free: 7.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4935, allocations: 9.801 MB / 0.7872 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.939, allocations: 22.62 kB / 0.7872 GB, free: 13.64 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)