Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_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.00137/0.00137, allocations: 102.4 kB / 16.27 MB, free: 5.953 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.00149/0.00149, allocations: 190.2 kB / 17.19 MB, free: 5.59 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3421, allocations: 77.91 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1741/0.5162, allocations: 168.4 MB / 0.7318 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.5385, allocations: 17.35 MB / 0.7487 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.54, allocations: 27.81 kB / 0.7487 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.2959/0.8359, allocations: 0.5638 MB / 0.7493 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.8409, allocations: 1.782 MB / 0.751 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.8442, allocations: 1.432 MB / 0.7524 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.8481, allocations: 2.875 MB / 0.7552 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/0.8517, allocations: 1.945 MB / 0.7571 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.8565, allocations: 1.426 MB / 0.7585 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.8592, allocations: 1.119 MB / 0.7596 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009737/0.8602, allocations: 222.6 kB / 0.7598 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.8644, allocations: 1.521 MB / 0.7613 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.8655, allocations: 0.8104 MB / 0.7621 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.868, allocations: 1.285 MB / 0.7634 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.8722, allocations: 3.676 MB / 0.7669 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8722, allocations: 0 / 0.7669 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8723, allocations: 1.781 kB / 0.7669 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.084e-05/0.8723, allocations: 0 / 0.7669 GB, free: 1.129 MB / 0.5762 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.004733/0.877, allocations: 2.94 MB / 0.7698 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8771, allocations: 11.09 kB / 0.7698 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.8774, allocations: 251.5 kB / 0.7701 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.8811, allocations: 0.5726 MB / 0.7706 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.8845, allocations: 3.393 MB / 0.7739 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.8846, allocations: 133 kB / 0.7741 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.8848, allocations: 166.7 kB / 0.7742 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.8876, allocations: 1.965 MB / 0.7761 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.8876, allocations: 0 / 0.7761 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.8878, allocations: 69.72 kB / 0.7762 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.8878, allocations: 42.03 kB / 0.7762 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.8908, allocations: 2.118 MB / 0.7783 GB, free: 14.85 MB / 0.5919 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.007799/0.8986, allocations: 6.785 MB / 0.7849 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.9015, allocations: 2.122 MB / 0.787 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.9027, allocations: 0.7702 MB / 0.7878 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005608/0.9033, allocations: 434.2 kB / 0.7882 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/0.9048, allocations: 1.02 MB / 0.7892 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.815e-06/0.9048, allocations: 0 / 0.7892 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006306/0.9111, allocations: 3.007 MB / 0.7921 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9113, allocations: 195.8 kB / 0.7923 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.9152, allocations: 4.094 MB / 0.7963 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.9154, allocations: 60.86 kB / 0.7964 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006387/0.916, allocations: 0.8976 MB / 0.7972 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.9164, allocations: 482.3 kB / 0.7977 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.9168, allocations: 242.5 kB / 0.7979 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9169, allocations: 352.7 kB / 0.7983 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.918, allocations: 0.5851 MB / 0.7988 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.9192, allocations: 0.8114 MB / 0.7996 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.9214, allocations: 1.336 MB / 0.8009 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9215, allocations: 0 / 0.8009 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003592/0.9251, allocations: 1.798 MB / 0.8027 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9251, allocations: 5.5 kB / 0.8027 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9251, allocations: 0 / 0.8027 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.9261, allocations: 215.4 kB / 0.8029 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.9275, allocations: 334.5 kB / 0.8032 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.9327, allocations: 7.335 MB / 0.8104 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.9343, allocations: 164.6 kB / 0.8105 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.9345, allocations: 50.27 kB / 0.8106 GB, free: 2.281 MB / 0.5919 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.0008474/0.9353, allocations: 0.4893 MB / 0.8111 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.9357, allocations: 192.2 kB / 0.8112 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.9398, allocations: 2.165 MB / 0.8134 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.9398, allocations: 23.31 kB / 0.8134 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.9398, allocations: 2.219 kB / 0.8134 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.9398, allocations: 9.25 kB / 0.8134 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006446/0.9463, allocations: 4.141 MB / 0.8174 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9463, allocations: 0 / 0.8174 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.9478, allocations: 322.5 kB / 0.8177 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/0.9487, allocations: 194.6 kB / 0.8179 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.9488, allocations: 47.89 kB / 0.818 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005647/0.9544, allocations: 7.35 MB / 0.8252 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9545, allocations: 0.8438 kB / 0.8252 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.9586, allocations: 2.029 MB / 0.8271 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/0.9594, allocations: 0.5107 MB / 0.8276 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.9598, allocations: 31.98 kB / 0.8277 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.9613, allocations: 108.5 kB / 0.8278 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.9615, allocations: 114.2 kB / 0.8279 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.9617, allocations: 77 kB / 0.828 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002994/0.9647, allocations: 3.141 MB / 0.831 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9647, allocations: 4 kB / 0.831 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001811/0.9665, allocations: 0.6868 MB / 0.8317 GB, free: 0.5273 MB / 0.6075 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.005818/0.9723, allocations: 3.228 MB / 0.8348 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005157/0.9775, allocations: 2.508 MB / 0.8373 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9775, allocations: 0.5625 kB / 0.8373 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.9795, allocations: 1.423 MB / 0.8387 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.9819, allocations: 0.5657 MB / 0.8392 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.012, allocations: 22.77 MB / 0.8615 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.014, allocations: 1.54 MB / 0.863 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002137/1.016, allocations: 0.5368 MB / 0.8635 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.017, allocations: 0.9053 MB / 0.8644 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/1.017, allocations: 0 / 0.8644 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08975/1.107, allocations: 49.08 MB / 0.9123 GB, free: 14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.35, allocations: 9.719 kB / 0.9123 GB, free: 13.99 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)