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.004913/0.004913, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001257/0.001257, allocations: 190.6 kB / 16.67 MB, free: 5.969 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 285.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9064/0.9064, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 95.84 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3926, allocations: 86.97 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1529/0.5455, allocations: 167.2 MB / 0.9292 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.5653, allocations: 17.25 MB / 0.946 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.5664, allocations: 31.88 kB / 0.9461 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5678, allocations: 0.5547 MB / 0.9466 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.5719, allocations: 1.716 MB / 0.9483 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.575, allocations: 1.432 MB / 0.9497 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.5776, allocations: 2.677 MB / 0.9523 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.5797, allocations: 2.006 MB / 0.9543 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.5831, allocations: 1.437 MB / 0.9557 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3671/0.9503, allocations: 1.085 MB / 0.9567 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007827/0.9511, allocations: 221.8 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.9546, allocations: 1.553 MB / 0.9584 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007684/0.9554, allocations: 0.8084 MB / 0.9592 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.9568, allocations: 1.24 MB / 0.9604 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005301/0.9621, allocations: 3.701 MB / 0.9641 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9621, allocations: 0 / 0.9641 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.447e-06/0.9621, allocations: 1.203 kB / 0.9641 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.615e-05/0.9622, allocations: 4.422 kB / 0.9641 GB, free: 5.633 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.005621/0.9678, allocations: 2.994 MB / 0.967 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9679, allocations: 9.781 kB / 0.967 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.9682, allocations: 252.3 kB / 0.9672 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/0.972, allocations: 0.5781 MB / 0.9678 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.9762, allocations: 3.449 MB / 0.9712 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.9763, allocations: 134 kB / 0.9713 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.9766, allocations: 166 kB / 0.9715 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.9797, allocations: 1.96 MB / 0.9734 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.9797, allocations: 0 / 0.9734 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.9799, allocations: 74.81 kB / 0.9734 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.9799, allocations: 43.97 kB / 0.9735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.9831, allocations: 2.117 MB / 0.9756 GB, free: 3.293 MB / 0.7169 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.008491/0.9916, allocations: 6.343 MB / 0.9817 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/0.9944, allocations: 2.136 MB / 0.9838 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.9955, allocations: 0.7723 MB / 0.9846 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.996, allocations: 430.2 kB / 0.985 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.9976, allocations: 1.011 MB / 0.986 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.246e-06/0.9976, allocations: 2.969 kB / 0.986 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006156/1.004, allocations: 3.007 MB / 0.9889 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/1.004, allocations: 197.7 kB / 0.9891 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/1.008, allocations: 4.102 MB / 0.9931 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/1.008, allocations: 59.78 kB / 0.9932 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/1.008, allocations: 0.9048 MB / 0.9941 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/1.009, allocations: 0.4951 MB / 0.9945 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/1.009, allocations: 240.1 kB / 0.9948 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.009, allocations: 358 kB / 0.9951 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/1.01, allocations: 0.5833 MB / 0.9957 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.011, allocations: 0.8112 MB / 0.9965 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/1.013, allocations: 1.333 MB / 0.9978 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.013, allocations: 0.9062 kB / 0.9978 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003708/1.017, allocations: 1.806 MB / 0.9995 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.017, allocations: 7.312 kB / 0.9995 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.017, allocations: 4.219 kB / 0.9996 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009636/1.018, allocations: 214.6 kB / 0.9998 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.02, allocations: 331.8 kB / 1 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005248/1.025, allocations: 7.328 MB / 1.007 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.027, allocations: 170.8 kB / 1.007 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.027, allocations: 51.48 kB / 1.007 GB, free: 7.168 MB / 0.7325 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.001045/1.028, allocations: 488.1 kB / 1.008 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/1.029, allocations: 209.8 kB / 1.008 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/1.033, allocations: 2.152 MB / 1.01 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.033, allocations: 17.88 kB / 1.01 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.033, allocations: 7.391 kB / 1.01 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/1.033, allocations: 7.438 kB / 1.01 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/1.04, allocations: 4.137 MB / 1.014 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.04, allocations: 0 / 1.014 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.041, allocations: 315.9 kB / 1.015 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008042/1.042, allocations: 204.3 kB / 1.015 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.042, allocations: 47.91 kB / 1.015 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/1.047, allocations: 7.368 MB / 1.022 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.047, allocations: 1.656 kB / 1.022 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/1.051, allocations: 2.029 MB / 1.024 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.053, allocations: 0.5242 MB / 1.025 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.053, allocations: 33.41 kB / 1.025 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.054, allocations: 108.4 kB / 1.025 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.054, allocations: 117.7 kB / 1.025 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.054, allocations: 65.86 kB / 1.025 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002752/1.057, allocations: 3.145 MB / 1.028 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.057, allocations: 0.7812 kB / 1.028 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001932/1.059, allocations: 0.6733 MB / 1.029 GB, free: 14.71 MB / 0.7481 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.005508/1.065, allocations: 3.247 MB / 1.032 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003149/1.068, allocations: 2.072 MB / 1.034 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.068, allocations: 1.5 kB / 1.034 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.07, allocations: 1.436 MB / 1.035 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.072, allocations: 0.5445 MB / 1.036 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.103, allocations: 21.37 MB / 1.057 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.104, allocations: 1.543 MB / 1.058 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001808/1.106, allocations: 0.5248 MB / 1.059 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.107, allocations: 0.9093 MB / 1.059 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/1.107, allocations: 0 / 1.059 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09063/1.198, allocations: 48.79 MB / 1.107 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.82, allocations: 16.66 kB / 1.107 GB, free: 5.082 MB / 0.8106 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)