Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.0007899/0.0007899, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008239/0.0008239, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8974/0.8974, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5384/0.5384, allocations: 110.2 MB / 369.4 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5473 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.717e-05, allocations: 3.828 kB / 0.5473 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002176/0.002193, allocations: 1.447 MB / 0.5487 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003212, allocations: 0.7838 MB / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.003244, allocations: 0 / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.00331, allocations: 3.938 kB / 0.5495 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.003353, allocations: 0 / 0.5495 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.00395, allocations: 188.6 kB / 0.5496 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.004052, allocations: 51.91 kB / 0.5497 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/0.004121, allocations: 0 / 0.5497 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.00417, allocations: 27.91 kB / 0.5497 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.004218, allocations: 19.97 kB / 0.5497 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.004232, allocations: 4 kB / 0.5497 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.004477, allocations: 207.7 kB / 0.5499 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.004518, allocations: 15.92 kB / 0.55 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.004545, allocations: 12 kB / 0.55 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.00478, allocations: 239.4 kB / 0.5502 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004782, allocations: 0 / 0.5502 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004783, allocations: 0 / 0.5502 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.004789, allocations: 0 / 0.5502 GB, free: 6.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004031/0.005192, allocations: 353.4 kB / 0.5505 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005229, allocations: 8.625 kB / 0.5505 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.005255, allocations: 38.75 kB / 0.5506 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.00528, allocations: 8.875 kB / 0.5506 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.005354, allocations: 117.7 kB / 0.5507 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.005365, allocations: 4.375 kB / 0.5507 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.005373, allocations: 384 / 0.5507 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.005524, allocations: 111.9 kB / 0.5508 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005531, allocations: 192 / 0.5508 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005542, allocations: 8.109 kB / 0.5508 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005546, allocations: 3.938 kB / 0.5508 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.005622, allocations: 73.67 kB / 0.5509 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.005985, allocations: 244 kB / 0.5511 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.00607, allocations: 92.12 kB / 0.5512 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.006132, allocations: 82.55 kB / 0.5513 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.006144, allocations: 0 / 0.5513 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.006164, allocations: 34.56 kB / 0.5513 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.006165, allocations: 0 / 0.5513 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000276/0.006441, allocations: 242.7 kB / 0.5516 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.006473, allocations: 77.11 kB / 0.5516 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.006548, allocations: 121.8 kB / 0.5517 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.00656, allocations: 29.7 kB / 0.5518 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.006595, allocations: 88.17 kB / 0.5519 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.00661, allocations: 15.94 kB / 0.5519 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.00664, allocations: 21.66 kB / 0.5519 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.006717, allocations: 314.8 kB / 0.5522 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.006803, allocations: 115.4 kB / 0.5523 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.006879, allocations: 127.4 kB / 0.5524 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.007014, allocations: 193.9 kB / 0.5526 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007015, allocations: 0 / 0.5526 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.007206, allocations: 284.3 kB / 0.5529 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.007239, allocations: 69.89 kB / 0.553 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007243, allocations: 0 / 0.553 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.007253, allocations: 0 / 0.553 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.007296, allocations: 4 kB / 0.553 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007301, allocations: 3.938 kB / 0.553 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.007329, allocations: 15.92 kB / 0.553 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.007337, allocations: 0 / 0.553 GB, free: 3.629 MB / 0.5105 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 6.813e-05/0.007405, allocations: 143.5 kB / 0.5531 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.007422, allocations: 11.89 kB / 0.5531 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.00744, allocations: 11.98 kB / 0.5531 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007442, allocations: 4 kB / 0.5531 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007446, allocations: 3.938 kB / 0.5531 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007449, allocations: 4 kB / 0.5531 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.007546, allocations: 128.8 kB / 0.5533 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.007548, allocations: 7.922 kB / 0.5533 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.007561, allocations: 4 kB / 0.5533 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.007562, allocations: 0 / 0.5533 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.007568, allocations: 0 / 0.5533 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.007571, allocations: 4 kB / 0.5533 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007571, allocations: 0 / 0.5533 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.007743, allocations: 282.8 kB / 0.5536 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.00775, allocations: 7.875 kB / 0.5536 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007762, allocations: 4 kB / 0.5536 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.007799, allocations: 12 kB / 0.5536 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.007875, allocations: 7.922 kB / 0.5536 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.00788, allocations: 4 kB / 0.5536 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.007917, allocations: 95.27 kB / 0.5537 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.007918, allocations: 0 / 0.5537 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002278/0.008145, allocations: 59.92 kB / 0.5537 GB, free: 2.754 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0005032/0.008648, allocations: 0.8798 MB / 0.5546 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005823/0.009231, allocations: 323.8 kB / 0.5549 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009232, allocations: 0 / 0.5549 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.009306, allocations: 129.1 kB / 0.555 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.009457, allocations: 4 kB / 0.555 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01076, allocations: 2.051 MB / 0.557 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/0.01081, allocations: 71.2 kB / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.01082, allocations: 0 / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.01085, allocations: 16.48 kB / 0.5571 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.01085, allocations: 0 / 0.5571 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.02913, allocations: 3.486 MB / 0.5605 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.153, allocations: 3.281 kB / 0.5605 GB, free: 11.75 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.672403086908162] Failed to read output from testmodel.py, exit status != 0: 7.2336668241769075 7.24607162 7.239436917 Calling exit ...