Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",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.001034/0.001033, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00128/0.00128, allocations: 168.7 kB / 15.95 MB, free: 204 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.294/1.294, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 273.6 kB / 291.3 MB, free: 1.977 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.7966/0.7966, allocations: 144.7 MB / 487.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 14.34 kB / 0.5686 GB, free: 38.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 83.08 MB / 0.6497 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001487/0.1266, allocations: 1.203 MB / 0.6509 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.1275, allocations: 0.5888 MB / 0.6515 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.1275, allocations: 7.438 kB / 0.6515 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1276, allocations: 3.938 kB / 0.6515 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.1276, allocations: 7.922 kB / 0.6515 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1279, allocations: 51.88 kB / 0.6515 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.1279, allocations: 35.86 kB / 0.6516 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.128, allocations: 8.875 kB / 0.6516 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.1281, allocations: 11.92 kB / 0.6516 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.1281, allocations: 24.41 kB / 0.6516 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1282, allocations: 0.5625 kB / 0.6516 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.1284, allocations: 87.91 kB / 0.6517 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1284, allocations: 4.562 kB / 0.6517 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.1284, allocations: 35.92 kB / 0.6517 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1285, allocations: 59.91 kB / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1285, allocations: 0 / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1285, allocations: 0 / 0.6518 GB, free: 1.336 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1285, allocations: 0 / 0.6518 GB, free: 1.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003733/0.1289, allocations: 356 kB / 0.6521 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.129, allocations: 8.781 kB / 0.6521 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.129, allocations: 34.56 kB / 0.6522 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.022e-05/0.129, allocations: 8.531 kB / 0.6522 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1292, allocations: 171 kB / 0.6523 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1292, allocations: 4.578 kB / 0.6523 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1292, allocations: 9.125 kB / 0.6524 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1293, allocations: 53.61 kB / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.1293, allocations: 1.469 kB / 0.6524 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1294, allocations: 8 kB / 0.6524 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1294, allocations: 3.984 kB / 0.6524 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.1295, allocations: 33.17 kB / 0.6524 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1298, allocations: 274.1 kB / 0.6527 GB, free: 252 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.1299, allocations: 39.53 kB / 0.6527 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.1299, allocations: 22.84 kB / 0.6528 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/0.1304, allocations: 0.5551 MB / 0.6533 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1304, allocations: 39.28 kB / 0.6533 GB, free: 15.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1304, allocations: 0.6875 kB / 0.6533 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.1307, allocations: 79.73 kB / 0.6534 GB, free: 15.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1307, allocations: 51.41 kB / 0.6535 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.1308, allocations: 126.5 kB / 0.6536 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1308, allocations: 26.58 kB / 0.6536 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.1309, allocations: 84.14 kB / 0.6537 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.1309, allocations: 13.53 kB / 0.6537 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.1309, allocations: 0 / 0.6537 GB, free: 15.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.131, allocations: 318.8 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.1311, allocations: 14.19 kB / 0.654 GB, free: 14.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.1311, allocations: 11.98 kB / 0.654 GB, free: 14.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.1312, allocations: 14.03 kB / 0.6541 GB, free: 14.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1312, allocations: 0 / 0.6541 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.1313, allocations: 53.69 kB / 0.6541 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1313, allocations: 8.906 kB / 0.6541 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1313, allocations: 3.984 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1314, allocations: 0 / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.1314, allocations: 15.38 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1315, allocations: 0 / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.1315, allocations: 11.84 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1315, allocations: 0 / 0.6541 GB, free: 14.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.071e-05/0.1316, allocations: 121.8 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1316, allocations: 0 / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.1318, allocations: 66.95 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1318, allocations: 0 / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1318, allocations: 0.625 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1318, allocations: 0 / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.132, allocations: 178.3 kB / 0.6545 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.132, allocations: 3.938 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.132, allocations: 5.062 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.132, allocations: 0 / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.132, allocations: 4.188 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1321, allocations: 8 kB / 0.6545 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1321, allocations: 3.984 kB / 0.6545 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1322, allocations: 155.4 kB / 0.6547 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1323, allocations: 85.02 kB / 0.6547 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1323, allocations: 0 / 0.6547 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.1324, allocations: 8.016 kB / 0.6548 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1324, allocations: 4 kB / 0.6548 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1324, allocations: 0 / 0.6548 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.1325, allocations: 99.27 kB / 0.6549 GB, free: 13.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1325, allocations: 0 / 0.6549 GB, free: 13.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1327, allocations: 8 kB / 0.6549 GB, free: 13.76 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004167/0.1331, allocations: 0.6968 MB / 0.6555 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1332, allocations: 23.98 kB / 0.6556 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1332, allocations: 0 / 0.6556 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.1333, allocations: 20.08 kB / 0.6556 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1335, allocations: 5.969 kB / 0.6556 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.1342, allocations: 476.1 kB / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1344, allocations: 0.6809 MB / 0.6567 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.1345, allocations: 4 kB / 0.6567 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1345, allocations: 19.42 kB / 0.6567 GB, free: 11.75 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1345, allocations: 0 / 0.6567 GB, free: 11.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.1445, allocations: 1.278 MB / 0.658 GB, free: 10.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.1447, allocations: 182.9 kB / 0.6582 GB, free: 10.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.756, allocations: 1.828 kB / 0.6582 GB, free: 10.36 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: