Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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.001034, allocations: 99.86 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.001075/0.001075, 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001746, allocations: 282.6 kB / 291.2 MB, free: 2.008 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.7532/0.7532, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 11.62 kB / 0.5684 GB, free: 38.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 83.1 MB / 0.6495 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001186/0.1085, allocations: 1.185 MB / 0.6507 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.1088, allocations: 107.7 kB / 0.6508 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1088, allocations: 4 kB / 0.6508 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.1088, allocations: 0 / 0.6508 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1089, allocations: 9.188 kB / 0.6508 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.109, allocations: 15.98 kB / 0.6508 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.1091, allocations: 27.91 kB / 0.6508 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.1091, allocations: 17.11 kB / 0.6509 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.1092, allocations: 11.98 kB / 0.6509 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.1092, allocations: 30.12 kB / 0.6509 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1093, allocations: 0 / 0.6509 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.221e-05/0.1093, allocations: 19.98 kB / 0.6509 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.1093, allocations: 0 / 0.6509 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.1094, allocations: 37.64 kB / 0.651 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.76e-05/0.1094, allocations: 35.92 kB / 0.651 GB, free: 2.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.1095, allocations: 0.5 kB / 0.651 GB, free: 2.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1095, allocations: 0.75 kB / 0.651 GB, free: 2.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.1095, allocations: 0 / 0.651 GB, free: 2.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004081/0.1099, allocations: 386.3 kB / 0.6514 GB, free: 1.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1099, allocations: 8.031 kB / 0.6514 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.1099, allocations: 31.28 kB / 0.6514 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.11, allocations: 7.906 kB / 0.6514 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.1101, allocations: 171.8 kB / 0.6516 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1101, allocations: 11.95 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.1101, allocations: 0.75 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1103, allocations: 83.75 kB / 0.6517 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-06/0.1103, allocations: 0.9688 kB / 0.6517 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1104, allocations: 0 / 0.6517 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1104, allocations: 3.938 kB / 0.6517 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1107, allocations: 104.9 kB / 0.6518 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.1109, allocations: 285.6 kB / 0.652 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1111, allocations: 77.56 kB / 0.6521 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.1113, allocations: 107 kB / 0.6522 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1114, allocations: 34.5 kB / 0.6523 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1114, allocations: 0 / 0.6523 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005201/0.1119, allocations: 181.2 kB / 0.6524 GB, free: 496 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.1119, allocations: 55.39 kB / 0.6525 GB, free: 428 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.112, allocations: 125.1 kB / 0.6526 GB, free: 296 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.112, allocations: 25.7 kB / 0.6526 GB, free: 264 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1121, allocations: 100.6 kB / 0.6527 GB, free: 160 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1121, allocations: 12.5 kB / 0.6527 GB, free: 148 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1121, allocations: 0 / 0.6527 GB, free: 148 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.1122, allocations: 323.5 kB / 0.653 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1124, allocations: 50.03 kB / 0.6531 GB, free: 15.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1125, allocations: 51.94 kB / 0.6531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1126, allocations: 47.91 kB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1127, allocations: 4 kB / 0.6532 GB, free: 15.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003189/0.113, allocations: 137.5 kB / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.113, allocations: 4 kB / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.113, allocations: 0 / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.113, allocations: 0 / 0.6533 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1131, allocations: 19.98 kB / 0.6533 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1131, allocations: 4 kB / 0.6533 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1132, allocations: 19.97 kB / 0.6534 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1132, allocations: 0 / 0.6534 GB, free: 15.48 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 (3): * Single equations (assignments): 3 * 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 6.167e-05/0.1133, allocations: 117.8 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1133, allocations: 4 kB / 0.6535 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1137, allocations: 149.3 kB / 0.6536 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1137, allocations: 0 / 0.6536 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1137, allocations: 8 kB / 0.6536 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1137, allocations: 0 / 0.6536 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1139, allocations: 181.6 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1139, allocations: 0 / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.114, allocations: 23.98 kB / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.114, allocations: 0 / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.114, allocations: 0 / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.114, allocations: 0 / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.114, allocations: 4 kB / 0.6538 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.1143, allocations: 227.4 kB / 0.654 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.1144, allocations: 88.97 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1144, allocations: 3.938 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1145, allocations: 19.97 kB / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.1145, allocations: 0 / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1146, allocations: 8 kB / 0.6542 GB, free: 14.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.1146, allocations: 99.27 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1146, allocations: 3.938 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000206/0.1148, allocations: 8 kB / 0.6543 GB, free: 14.45 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 (3): * Single equations (assignments): 3 * 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.000552/0.1154, allocations: 0.767 MB / 0.655 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1157, allocations: 108.1 kB / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1157, allocations: 4 kB / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1159, allocations: 47.95 kB / 0.6552 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.116, allocations: 4 kB / 0.6552 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.1164, allocations: 202.7 kB / 0.6554 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1166, allocations: 0.6887 MB / 0.656 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.476e-05/0.1166, allocations: 0 / 0.656 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.1166, allocations: 15.44 kB / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1166, allocations: 0 / 0.6561 GB, free: 12.53 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.547/0.6636, allocations: 1.549 MB / 0.6576 GB, free: 11.12 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.6638, allocations: 192.8 kB / 0.6577 GB, free: 10.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.741, allocations: 0 / 0.6577 GB, free: 10.88 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: