Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",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.004303/0.004303, allocations: 97.41 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.001285/0.001285, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 286.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 91.11 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1581, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4886/0.6467, allocations: 167.2 MB / 0.9292 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.668, allocations: 17.24 MB / 0.946 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.6689, allocations: 31.81 kB / 0.9461 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.6703, allocations: 0.5313 MB / 0.9466 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.6741, allocations: 1.678 MB / 0.9482 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.6771, allocations: 1.443 MB / 0.9496 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.6801, allocations: 2.683 MB / 0.9523 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.6825, allocations: 1.991 MB / 0.9542 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.6859, allocations: 1.402 MB / 0.9556 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.6871, allocations: 1.089 MB / 0.9566 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.6874, allocations: 220 kB / 0.9568 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.6902, allocations: 1.556 MB / 0.9584 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.691, allocations: 0.8023 MB / 0.9591 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.6922, allocations: 1.247 MB / 0.9604 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.6967, allocations: 3.693 MB / 0.964 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6968, allocations: 4 kB / 0.964 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6968, allocations: 0 / 0.964 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.369e-05/0.6968, allocations: 4 kB / 0.964 GB, free: 8.238 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004756/0.7016, allocations: 2.997 MB / 0.9669 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7016, allocations: 8.031 kB / 0.9669 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003079/0.7019, allocations: 248.9 kB / 0.9671 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.7053, allocations: 0.5798 MB / 0.9677 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.7094, allocations: 3.458 MB / 0.9711 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.7095, allocations: 127.4 kB / 0.9712 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.7097, allocations: 172 kB / 0.9714 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.7131, allocations: 1.96 MB / 0.9733 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.7131, allocations: 0 / 0.9733 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.7133, allocations: 75.94 kB / 0.9734 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.7133, allocations: 43.98 kB / 0.9734 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.717, allocations: 2.12 MB / 0.9755 GB, free: 12.28 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.008977/0.726, allocations: 6.337 MB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.7294, allocations: 2.133 MB / 0.9837 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.7308, allocations: 0.7686 MB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.7314, allocations: 433.6 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.7332, allocations: 1.021 MB / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/0.7332, allocations: 0 / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.00677/0.74, allocations: 2.997 MB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.7401, allocations: 201.2 kB / 0.989 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/0.7447, allocations: 4.098 MB / 0.993 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.7449, allocations: 57.7 kB / 0.9931 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008266/0.7457, allocations: 0.9154 MB / 0.994 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.7461, allocations: 0.4996 MB / 0.9945 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.7466, allocations: 238.8 kB / 0.9947 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.7467, allocations: 357.9 kB / 0.995 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.7479, allocations: 0.5804 MB / 0.9956 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.7493, allocations: 0.8047 MB / 0.9964 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.7518, allocations: 1.333 MB / 0.9977 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7518, allocations: 0 / 0.9977 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00385/0.7556, allocations: 1.816 MB / 0.9995 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7557, allocations: 4 kB / 0.9995 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7557, allocations: 4 kB / 0.9995 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.7567, allocations: 208.1 kB / 0.9997 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7581, allocations: 335.6 kB / 1 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00689/0.765, allocations: 7.324 MB / 1.007 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.7666, allocations: 171.2 kB / 1.007 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7668, allocations: 47.97 kB / 1.007 GB, free: 10.21 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 (145): * Single equations (assignments): 140 * 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.0009815/0.7677, allocations: 0.4962 MB / 1.008 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.7681, allocations: 202.7 kB / 1.008 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.7727, allocations: 2.158 MB / 1.01 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.7727, allocations: 19.98 kB / 1.01 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.7727, allocations: 4 kB / 1.01 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.7728, allocations: 3.984 kB / 1.01 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/0.7797, allocations: 4.137 MB / 1.014 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7797, allocations: 0 / 1.014 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.7811, allocations: 331.5 kB / 1.015 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.7819, allocations: 192.1 kB / 1.015 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.7821, allocations: 39.97 kB / 1.015 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.7884, allocations: 7.379 MB / 1.022 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7885, allocations: 0 / 1.022 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.7926, allocations: 2.03 MB / 1.024 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.7934, allocations: 0.5225 MB / 1.024 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.7936, allocations: 32 kB / 1.024 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7948, allocations: 114.2 kB / 1.025 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.795, allocations: 113.2 kB / 1.025 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.7952, allocations: 67.95 kB / 1.025 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003378/0.7986, allocations: 3.149 MB / 1.028 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7986, allocations: 3.938 kB / 1.028 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001534/0.8001, allocations: 0.6703 MB / 1.028 GB, free: 3.688 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.006373/0.8065, allocations: 3.239 MB / 1.032 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.81, allocations: 2.078 MB / 1.034 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.81, allocations: 4.547 kB / 1.034 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.8122, allocations: 1.43 MB / 1.035 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.8143, allocations: 0.5408 MB / 1.036 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/0.8453, allocations: 21.3 MB / 1.056 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.8467, allocations: 1.541 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001647/0.8483, allocations: 0.5247 MB / 1.058 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.8496, allocations: 0.9015 MB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of SimCode: time 9.72e-07/0.8496, allocations: 0 / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/1.224, allocations: 48.78 MB / 1.107 GB, free: 285.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.83, allocations: 10.16 kB / 1.107 GB, free: 285.9 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)