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.004724/0.004724, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001337/0.001337, allocations: 194.2 kB / 16.67 MB, free: 6.348 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 279.1 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 95.84 kB / 0.6943 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4479, allocations: 89.14 MB / 0.7813 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1955/0.6434, allocations: 168.5 MB / 0.9458 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.669, allocations: 17.36 MB / 0.9628 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.6708, allocations: 31.81 kB / 0.9628 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.6729, allocations: 0.5739 MB / 0.9634 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.6786, allocations: 1.79 MB / 0.9651 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.6822, allocations: 1.439 MB / 0.9665 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.6859, allocations: 2.887 MB / 0.9694 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.6884, allocations: 1.94 MB / 0.9713 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.6923, allocations: 1.432 MB / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.6939, allocations: 1.12 MB / 0.9737 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.6943, allocations: 224 kB / 0.974 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.6973, allocations: 1.56 MB / 0.9755 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007426/0.6981, allocations: 0.8062 MB / 0.9763 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.6994, allocations: 1.283 MB / 0.9775 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.7043, allocations: 3.763 MB / 0.9812 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.7044, allocations: 0 / 0.9812 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7044, allocations: 0 / 0.9812 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.806e-05/0.7045, allocations: 0 / 0.9812 GB, free: 1.949 MB / 0.7325 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.005103/0.7096, allocations: 3.024 MB / 0.9842 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7096, allocations: 8.031 kB / 0.9842 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.7099, allocations: 248.9 kB / 0.9844 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.7135, allocations: 0.5838 MB / 0.985 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004304/0.7178, allocations: 3.454 MB / 0.9883 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.718, allocations: 123.4 kB / 0.9885 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.7182, allocations: 176 kB / 0.9886 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.7219, allocations: 1.968 MB / 0.9905 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.722, allocations: 0 / 0.9905 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.7221, allocations: 72 kB / 0.9906 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.7222, allocations: 40 kB / 0.9907 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.726, allocations: 2.117 MB / 0.9927 GB, free: 5.965 MB / 0.7481 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.01051/0.7365, allocations: 6.724 MB / 0.9993 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.7402, allocations: 2.132 MB / 1.001 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.7417, allocations: 0.7776 MB / 1.002 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.7423, allocations: 437.6 kB / 1.003 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.7442, allocations: 1.025 MB / 1.004 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.7442, allocations: 0 / 1.004 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of matching and sorting (n=146): time 0.007376/0.7516, allocations: 3.013 MB / 1.006 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.7518, allocations: 197.2 kB / 1.007 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/0.7571, allocations: 4.098 MB / 1.011 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004006/0.7575, allocations: 57.7 kB / 1.011 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009354/0.7585, allocations: 0.9077 MB / 1.012 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/0.7591, allocations: 0.4957 MB / 1.012 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.7595, allocations: 238.8 kB / 1.012 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7597, allocations: 353.9 kB / 1.013 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.7609, allocations: 0.5881 MB / 1.013 GB, free: 248 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.7624, allocations: 0.8086 MB / 1.014 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.765, allocations: 1.333 MB / 1.015 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/0.765, allocations: 11.94 kB / 1.015 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004701/0.7697, allocations: 1.804 MB / 1.017 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.7698, allocations: 8 kB / 1.017 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.7698, allocations: 0 / 1.017 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.7711, allocations: 212.2 kB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.7729, allocations: 327.5 kB / 1.018 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006879/0.7798, allocations: 7.324 MB / 1.025 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.7816, allocations: 163.2 kB / 1.025 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.7817, allocations: 55.95 kB / 1.025 GB, free: 3.387 MB / 0.7794 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.0009231/0.7826, allocations: 485.5 kB / 1.025 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.7831, allocations: 210.7 kB / 1.026 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/0.7878, allocations: 2.161 MB / 1.028 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.7878, allocations: 16 kB / 1.028 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7878, allocations: 3.938 kB / 1.028 GB, free: 500 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7878, allocations: 7.969 kB / 1.028 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.7951, allocations: 4.141 MB / 1.032 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7951, allocations: 3.938 kB / 1.032 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.7966, allocations: 315.6 kB / 1.032 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.7975, allocations: 200.1 kB / 1.032 GB, free: 11.74 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.7976, allocations: 43.95 kB / 1.032 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.8041, allocations: 7.353 MB / 1.04 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8041, allocations: 3.984 kB / 1.04 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/0.809, allocations: 2.045 MB / 1.042 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.8101, allocations: 0.5187 MB / 1.042 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.8103, allocations: 36 kB / 1.042 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.8116, allocations: 110.7 kB / 1.042 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.8119, allocations: 113.1 kB / 1.042 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.8121, allocations: 75.94 kB / 1.042 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003544/0.8157, allocations: 3.145 MB / 1.045 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8157, allocations: 0 / 1.045 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001853/0.8175, allocations: 0.6938 MB / 1.046 GB, free: 12.86 MB / 0.8106 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.006855/0.8244, allocations: 3.248 MB / 1.049 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.8282, allocations: 2.078 MB / 1.051 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.8282, allocations: 8.547 kB / 1.051 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.8305, allocations: 1.43 MB / 1.053 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.8331, allocations: 0.5579 MB / 1.053 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.8659, allocations: 21.18 MB / 1.074 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3352/1.201, allocations: 1.538 MB / 1.075 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002061/1.203, allocations: 0.5233 MB / 1.076 GB, free: 268.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.205, allocations: 0.9051 MB / 1.077 GB, free: 268.3 MB / 0.8262 GB Notification: Performance of SimCode: time 7.72e-07/1.205, allocations: 4.219 kB / 1.077 GB, free: 268.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/1.331, allocations: 49.63 MB / 1.125 GB, free: 243.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.37, allocations: 11.62 kB / 1.125 GB, free: 243.5 MB / 0.8262 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)