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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",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.0008484/0.0008485, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008891/0.0008891, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 267.1 kB / 291.2 MB, free: 1.895 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7414/0.7414, allocations: 144.6 MB / 487 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005217, allocations: 15.47 kB / 0.5684 GB, free: 38.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1392, allocations: 83.09 MB / 0.6495 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.000602/0.1398, allocations: 331.6 kB / 0.6499 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1412, allocations: 1.326 MB / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1412, allocations: 0 / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.1413, allocations: 0 / 0.6512 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.1413, allocations: 8.641 kB / 0.6512 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1418, allocations: 129.5 kB / 0.6513 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.1418, allocations: 23.95 kB / 0.6513 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1419, allocations: 5.406 kB / 0.6513 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.1419, allocations: 19.92 kB / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.142, allocations: 27.91 kB / 0.6514 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.142, allocations: 3.938 kB / 0.6514 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.1422, allocations: 169.1 kB / 0.6515 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.1423, allocations: 15.94 kB / 0.6515 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1423, allocations: 25.7 kB / 0.6516 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1425, allocations: 126.8 kB / 0.6517 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.1425, allocations: 7.938 kB / 0.6517 GB, free: 1.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1425, allocations: 0 / 0.6517 GB, free: 1.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.1425, allocations: 0 / 0.6517 GB, free: 1.316 MB / 446.1 MB 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.0003312/0.1429, allocations: 430.8 kB / 0.6521 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1429, allocations: 8.031 kB / 0.6521 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1429, allocations: 34.56 kB / 0.6521 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.143, allocations: 4.406 kB / 0.6521 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1431, allocations: 174.9 kB / 0.6523 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1431, allocations: 8.516 kB / 0.6523 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1431, allocations: 4.656 kB / 0.6523 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1433, allocations: 91.64 kB / 0.6524 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.1433, allocations: 4 kB / 0.6524 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1433, allocations: 0 / 0.6524 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1433, allocations: 0 / 0.6524 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.1434, allocations: 67.94 kB / 0.6525 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.1435, allocations: 178.3 kB / 0.6527 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.1436, allocations: 87.61 kB / 0.6527 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.1436, allocations: 0 / 0.6527 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1437, allocations: 35.62 kB / 0.6528 GB, free: 36 kB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1437, allocations: 0 / 0.6528 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000375/0.144, allocations: 329.7 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1441, allocations: 85.09 kB / 0.6532 GB, free: 15.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1442, allocations: 140.6 kB / 0.6533 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1442, allocations: 29.64 kB / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.1443, allocations: 97.28 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1443, allocations: 11.84 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1443, allocations: 0 / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.1444, allocations: 323.5 kB / 0.6537 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1445, allocations: 100.5 kB / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1446, allocations: 112.3 kB / 0.6539 GB, free: 14.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1448, allocations: 160 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1448, allocations: 0 / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003004/0.1451, allocations: 322.1 kB / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.1452, allocations: 71.39 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1452, allocations: 0 / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1452, allocations: 4 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.1452, allocations: 4.766 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1452, allocations: 3.938 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1453, allocations: 9.156 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1454, allocations: 7.984 kB / 0.6545 GB, free: 14.15 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/0.1455, allocations: 154.1 kB / 0.6546 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.1455, allocations: 16.39 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.1455, allocations: 8.75 kB / 0.6547 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1455, allocations: 3.984 kB / 0.6547 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1455, allocations: 0.5312 kB / 0.6547 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1455, allocations: 4.594 kB / 0.6547 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1456, allocations: 177.6 kB / 0.6548 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1456, allocations: 4.734 kB / 0.6549 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1456, allocations: 0 / 0.6549 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1456, allocations: 1.938 kB / 0.6549 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1457, allocations: 7.953 kB / 0.6549 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1457, allocations: 0 / 0.6549 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1457, allocations: 0 / 0.6549 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1459, allocations: 225.6 kB / 0.6551 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.146, allocations: 81.11 kB / 0.6552 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.146, allocations: 0 / 0.6552 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.146, allocations: 7.953 kB / 0.6552 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1461, allocations: 11.98 kB / 0.6552 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1461, allocations: 4.531 kB / 0.6552 GB, free: 13.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.1462, allocations: 114 kB / 0.6553 GB, free: 13.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1462, allocations: 3.938 kB / 0.6553 GB, free: 13.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1464, allocations: 64 kB / 0.6554 GB, free: 13.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005749/0.147, allocations: 0.8047 MB / 0.6561 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.1474, allocations: 370.6 kB / 0.6565 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1474, allocations: 0 / 0.6565 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1475, allocations: 145.7 kB / 0.6566 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.875e-05/0.1476, allocations: 7.953 kB / 0.6566 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.1481, allocations: 440.1 kB / 0.6571 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1483, allocations: 0.6889 MB / 0.6577 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.479e-06/0.1483, allocations: 0.6562 kB / 0.6577 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.1483, allocations: 23.42 kB / 0.6578 GB, free: 10.58 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1484, allocations: 0.7188 kB / 0.6578 GB, free: 10.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8202/0.9685, allocations: 2.873 MB / 0.6606 GB, free: 7.871 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.9688, allocations: 197.4 kB / 0.6607 GB, free: 7.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.179, allocations: 4 kB / 0.6608 GB, free: 7.629 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: