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.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008151/0.0008152, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004539/0.004539, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.158/1.158, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8943/0.8943, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001314/0.1416, allocations: 1.143 MB / 0.5991 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1426, allocations: 0.7997 MB / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.1426, allocations: 0 / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.1427, allocations: 0 / 0.5999 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.1427, allocations: 4 kB / 0.5999 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1432, allocations: 127.8 kB / 0.6 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.1433, allocations: 43.83 kB / 0.6 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.1433, allocations: 8 kB / 0.6001 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.1434, allocations: 11.98 kB / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.1434, allocations: 15.92 kB / 0.6001 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1434, allocations: 4 kB / 0.6001 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.1437, allocations: 183.7 kB / 0.6003 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.1437, allocations: 15.92 kB / 0.6003 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1438, allocations: 45.62 kB / 0.6003 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.144, allocations: 191.6 kB / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.144, allocations: 0 / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.144, allocations: 0 / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.144, allocations: 3.938 kB / 0.6005 GB, free: 4.953 MB / 0.4981 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.000377/0.1444, allocations: 427 kB / 0.6009 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1445, allocations: 8.031 kB / 0.6009 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.1445, allocations: 34.75 kB / 0.601 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1445, allocations: 0.9375 kB / 0.601 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/0.1446, allocations: 180.2 kB / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1446, allocations: 384 / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1446, allocations: 8.375 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1448, allocations: 77.8 kB / 0.6012 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-06/0.1448, allocations: 0 / 0.6012 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1448, allocations: 0 / 0.6012 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1448, allocations: 0 / 0.6012 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.145, allocations: 63.88 kB / 0.6013 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.1453, allocations: 276.9 kB / 0.6015 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1454, allocations: 54.56 kB / 0.6016 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.1455, allocations: 48.91 kB / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1455, allocations: 4 kB / 0.6016 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1455, allocations: 38.56 kB / 0.6017 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1455, allocations: 0 / 0.6017 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003378/0.1459, allocations: 195.2 kB / 0.6019 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1459, allocations: 81.05 kB / 0.6019 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.146, allocations: 129.8 kB / 0.6021 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.146, allocations: 29.7 kB / 0.6021 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1461, allocations: 84.14 kB / 0.6022 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.1461, allocations: 15.84 kB / 0.6022 GB, free: 3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.1461, allocations: 13.7 kB / 0.6022 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.1462, allocations: 322.8 kB / 0.6025 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.1463, allocations: 55.95 kB / 0.6026 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.1464, allocations: 63.97 kB / 0.6026 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1466, allocations: 201.8 kB / 0.6028 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1466, allocations: 0 / 0.6028 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002562/0.1469, allocations: 220.9 kB / 0.603 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.1469, allocations: 63.39 kB / 0.6031 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1469, allocations: 0 / 0.6031 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.147, allocations: 4 kB / 0.6031 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.147, allocations: 4 kB / 0.6031 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.147, allocations: 0 / 0.6031 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.1471, allocations: 16.05 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1471, allocations: 4 kB / 0.6031 GB, free: 1.984 MB / 0.4981 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 8.505e-05/0.1472, allocations: 147.5 kB / 0.6032 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1472, allocations: 7.891 kB / 0.6033 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.1472, allocations: 15.91 kB / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1472, allocations: 0 / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1472, allocations: 0 / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1473, allocations: 0 / 0.6033 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1474, allocations: 177.6 kB / 0.6034 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1474, allocations: 0 / 0.6034 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.1474, allocations: 4 kB / 0.6034 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1475, allocations: 7.938 kB / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1475, allocations: 0 / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1475, allocations: 0 / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1475, allocations: 0 / 0.6035 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1477, allocations: 257.1 kB / 0.6037 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.1478, allocations: 84.95 kB / 0.6038 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1478, allocations: 0 / 0.6038 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1479, allocations: 12 kB / 0.6038 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.1479, allocations: 7.984 kB / 0.6038 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1479, allocations: 4.031 kB / 0.6038 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.148, allocations: 95.27 kB / 0.6039 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 0.6039 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002752/0.1483, allocations: 59.98 kB / 0.6039 GB, free: 1.008 MB / 0.4981 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.000563/0.1489, allocations: 0.8389 MB / 0.6048 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2251/0.374, allocations: 238.8 kB / 0.605 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.374, allocations: 1 kB / 0.605 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3742, allocations: 106.4 kB / 0.6051 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.3745, allocations: 4.156 kB / 0.6051 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3759, allocations: 1.766 MB / 0.6068 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.3761, allocations: 0.6849 MB / 0.6075 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.3761, allocations: 2.625 kB / 0.6075 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.3761, allocations: 17.41 kB / 0.6075 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of SimCode: time 5.72e-07/0.3761, allocations: 1.156 kB / 0.6075 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.57/2.946, allocations: 2.549 MB / 0.61 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/2.946, allocations: 249.1 kB / 0.6102 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/5.326, allocations: 6.891 kB / 0.6102 GB, free: 38.05 MB / 0.4981 GB (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 --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)