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.006443/0.006443, allocations: 100.9 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.001465/0.001465, allocations: 202.3 kB / 16.68 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.316/1.316, 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.0021/0.0021, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9076/0.9076, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 94.28 kB / 0.681 GB, free: 16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1534, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4734/0.6269, allocations: 167.2 MB / 0.9292 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.6473, allocations: 17.23 MB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.6484, allocations: 31.81 kB / 0.9461 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6501, allocations: 0.5508 MB / 0.9466 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.6544, allocations: 1.716 MB / 0.9483 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.6575, allocations: 1.427 MB / 0.9497 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002976/0.6605, allocations: 2.698 MB / 0.9523 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.6631, allocations: 1.985 MB / 0.9542 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.6668, allocations: 1.457 MB / 0.9557 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.6684, allocations: 1.085 MB / 0.9567 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.6688, allocations: 224 kB / 0.9569 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.6718, allocations: 1.556 MB / 0.9585 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.6726, allocations: 0.814 MB / 0.9593 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.6743, allocations: 1.24 MB / 0.9605 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005107/0.6795, allocations: 3.693 MB / 0.9641 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6795, allocations: 0 / 0.9641 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6795, allocations: 0 / 0.9641 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001212/0.6796, allocations: 0 / 0.9641 GB, free: 8.121 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.006031/0.6857, allocations: 3.001 MB / 0.967 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6857, allocations: 12.03 kB / 0.967 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004948/0.6862, allocations: 252.9 kB / 0.9673 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.69, allocations: 0.5799 MB / 0.9678 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004374/0.6944, allocations: 3.45 MB / 0.9712 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6945, allocations: 127.4 kB / 0.9713 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/0.6948, allocations: 172 kB / 0.9715 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.6985, allocations: 1.956 MB / 0.9734 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.6985, allocations: 3.938 kB / 0.9734 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.6987, allocations: 79.98 kB / 0.9735 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.6988, allocations: 40 kB / 0.9735 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003619/0.7024, allocations: 2.117 MB / 0.9756 GB, free: 12.16 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.009496/0.7119, allocations: 6.335 MB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.7152, allocations: 2.137 MB / 0.9838 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.7165, allocations: 0.7647 MB / 0.9846 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.717, allocations: 437.6 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.7187, allocations: 1.021 MB / 0.986 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/0.7187, allocations: 0 / 0.986 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006503/0.7253, allocations: 3.001 MB / 0.9889 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7254, allocations: 197.2 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.7298, allocations: 4.102 MB / 0.9931 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.73, allocations: 57.7 kB / 0.9932 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007109/0.7307, allocations: 0.9038 MB / 0.9941 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.7311, allocations: 0.4956 MB / 0.9946 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.7315, allocations: 242.8 kB / 0.9948 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7317, allocations: 357.9 kB / 0.9951 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.7328, allocations: 0.5843 MB / 0.9957 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.7341, allocations: 0.8125 MB / 0.9965 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.7364, allocations: 1.329 MB / 0.9978 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7364, allocations: 0 / 0.9978 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003834/0.7403, allocations: 1.804 MB / 0.9996 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7403, allocations: 13.7 kB / 0.9996 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7403, allocations: 3.938 kB / 0.9996 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/0.7413, allocations: 212.1 kB / 0.9998 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.7428, allocations: 327.6 kB / 1 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.7489, allocations: 7.337 MB / 1.007 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.7506, allocations: 163.2 kB / 1.007 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.7509, allocations: 51.97 kB / 1.007 GB, free: 10.09 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.001169/0.7521, allocations: 498 kB / 1.008 GB, free: 9.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006855/0.7528, allocations: 214.7 kB / 1.008 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.7575, allocations: 2.154 MB / 1.01 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7576, allocations: 16 kB / 1.01 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7576, allocations: 0 / 1.01 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.7576, allocations: 7.969 kB / 1.01 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/0.7648, allocations: 4.145 MB / 1.014 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7648, allocations: 0 / 1.014 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.7662, allocations: 319.5 kB / 1.015 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/0.767, allocations: 200.1 kB / 1.015 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.7672, allocations: 43.91 kB / 1.015 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.7727, allocations: 7.363 MB / 1.022 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7727, allocations: 0 / 1.022 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/0.7768, allocations: 2.033 MB / 1.024 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/0.7777, allocations: 0.5225 MB / 1.025 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.7781, allocations: 32 kB / 1.025 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.7794, allocations: 107.9 kB / 1.025 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.7797, allocations: 113.1 kB / 1.025 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.7798, allocations: 71.95 kB / 1.025 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003281/0.7831, allocations: 3.149 MB / 1.028 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7831, allocations: 4 kB / 1.028 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001699/0.7848, allocations: 0.6742 MB / 1.029 GB, free: 3.566 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.005843/0.7907, allocations: 3.237 MB / 1.032 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.7942, allocations: 2.074 MB / 1.034 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.7942, allocations: 12.61 kB / 1.034 GB, free: 14.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.7963, allocations: 1.434 MB / 1.035 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.7988, allocations: 0.5435 MB / 1.036 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.8302, allocations: 21.28 MB / 1.056 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.8316, allocations: 1.545 MB / 1.058 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001718/0.8333, allocations: 0.5208 MB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.8346, allocations: 0.9093 MB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of SimCode: time 8.81e-07/0.8346, allocations: 0 / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3742/1.209, allocations: 48.78 MB / 1.107 GB, free: 285.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.24, allocations: 4.141 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)