Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",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.005415/0.005415, allocations: 99 kB / 15.73 MB, free: 6.039 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.001082/0.001082, allocations: 195.7 kB / 16.67 MB, free: 5.965 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.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.002041/0.002041, allocations: 274.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 99.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1551, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4841/0.6392, allocations: 167.2 MB / 0.9291 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.6573, allocations: 17.22 MB / 0.946 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.6586, allocations: 31.81 kB / 0.946 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.6599, allocations: 0.543 MB / 0.9465 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.664, allocations: 1.72 MB / 0.9482 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.667, allocations: 1.427 MB / 0.9496 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.6696, allocations: 2.657 MB / 0.9522 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.6717, allocations: 1.998 MB / 0.9541 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.6749, allocations: 1.44 MB / 0.9556 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.676, allocations: 1.078 MB / 0.9566 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.6763, allocations: 220 kB / 0.9568 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.6788, allocations: 1.552 MB / 0.9583 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.6793, allocations: 0.7945 MB / 0.9591 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009978/0.6804, allocations: 1.232 MB / 0.9603 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.6843, allocations: 3.683 MB / 0.9639 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6843, allocations: 0 / 0.9639 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6843, allocations: 4 kB / 0.9639 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.151e-05/0.6844, allocations: 0 / 0.9639 GB, free: 8.227 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004264/0.6886, allocations: 2.959 MB / 0.9668 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6887, allocations: 12.03 kB / 0.9668 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.6889, allocations: 248.8 kB / 0.967 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.6924, allocations: 0.5798 MB / 0.9676 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.696, allocations: 3.438 MB / 0.971 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.6961, allocations: 127.4 kB / 0.9711 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.6963, allocations: 172 kB / 0.9713 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.6992, allocations: 1.936 MB / 0.9731 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.6993, allocations: 0 / 0.9731 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6994, allocations: 79.98 kB / 0.9732 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.6995, allocations: 40 kB / 0.9733 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.7027, allocations: 2.089 MB / 0.9753 GB, free: 12.37 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007996/0.7107, allocations: 6.194 MB / 0.9814 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.7137, allocations: 2.095 MB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.7149, allocations: 0.7608 MB / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.7155, allocations: 429.6 kB / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.717, allocations: 1.005 MB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.026e-06/0.717, allocations: 3.938 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.00632/0.7234, allocations: 2.966 MB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.7235, allocations: 197.2 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.7276, allocations: 4.056 MB / 0.9926 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.7278, allocations: 61.7 kB / 0.9926 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.7285, allocations: 0.8958 MB / 0.9935 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.7289, allocations: 0.4996 MB / 0.994 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.7293, allocations: 230.8 kB / 0.9942 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7294, allocations: 357.9 kB / 0.9946 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.7304, allocations: 0.5803 MB / 0.9951 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.7316, allocations: 0.7891 MB / 0.9959 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.7338, allocations: 1.314 MB / 0.9972 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.7338, allocations: 0 / 0.9972 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003889/0.7377, allocations: 1.777 MB / 0.9989 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7377, allocations: 13.86 kB / 0.9989 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7378, allocations: 0 / 0.9989 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.7388, allocations: 224.1 kB / 0.9991 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7402, allocations: 319.6 kB / 0.9995 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.7457, allocations: 7.31 MB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.7474, allocations: 159.2 kB / 1.007 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7475, allocations: 51.97 kB / 1.007 GB, free: 10.69 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009492/0.7485, allocations: 495.9 kB / 1.007 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.7489, allocations: 198.7 kB / 1.007 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/0.753, allocations: 2.142 MB / 1.01 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.753, allocations: 19.94 kB / 1.01 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7531, allocations: 0 / 1.01 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.7531, allocations: 7.969 kB / 1.01 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.7595, allocations: 4.119 MB / 1.014 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7595, allocations: 0 / 1.014 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.7609, allocations: 311.6 kB / 1.014 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008673/0.7618, allocations: 212 kB / 1.014 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.7619, allocations: 39.97 kB / 1.014 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.7673, allocations: 7.348 MB / 1.021 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7673, allocations: 12.09 kB / 1.021 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.7714, allocations: 2.006 MB / 1.023 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.7724, allocations: 0.5226 MB / 1.024 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/0.7728, allocations: 28 kB / 1.024 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.7742, allocations: 103.9 kB / 1.024 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.7745, allocations: 113.2 kB / 1.024 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/0.7747, allocations: 75.94 kB / 1.024 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003225/0.7779, allocations: 3.12 MB / 1.027 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7779, allocations: 0 / 1.027 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001788/0.7797, allocations: 0.6664 MB / 1.028 GB, free: 4.293 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005824/0.7855, allocations: 3.207 MB / 1.031 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00329/0.7888, allocations: 2.055 MB / 1.033 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7889, allocations: 4.562 kB / 1.033 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.7908, allocations: 1.43 MB / 1.034 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.7934, allocations: 0.531 MB / 1.035 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/0.824, allocations: 20.94 MB / 1.055 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.8254, allocations: 1.537 MB / 1.057 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001859/0.8272, allocations: 0.552 MB / 1.057 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.8285, allocations: 0.8936 MB / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/0.8285, allocations: 0 / 1.058 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3844/1.213, allocations: 48.14 MB / 1.105 GB, free: 284.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.6, allocations: 3.797 kB / 1.105 GB, free: 284.8 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)