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.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 290.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9038/0.9038, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 102.2 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4909/0.657, allocations: 167.2 MB / 0.8436 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.6765, allocations: 17.23 MB / 0.8604 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.6786, allocations: 32.19 kB / 0.8604 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.6804, allocations: 0.5322 MB / 0.8609 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005184/0.6856, allocations: 1.683 MB / 0.8626 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.6893, allocations: 1.416 MB / 0.864 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003472/0.6928, allocations: 2.666 MB / 0.8666 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.6957, allocations: 2.005 MB / 0.8685 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.6995, allocations: 1.381 MB / 0.8699 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.7012, allocations: 1.093 MB / 0.871 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.7017, allocations: 221.6 kB / 0.8712 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.7053, allocations: 1.522 MB / 0.8726 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009131/0.7062, allocations: 0.8097 MB / 0.8734 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.7075, allocations: 1.247 MB / 0.8747 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.7117, allocations: 3.621 MB / 0.8782 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7117, allocations: 0 / 0.8782 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7117, allocations: 0 / 0.8782 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.029e-05/0.7118, allocations: 0 / 0.8782 GB, free: 9.074 MB / 0.5919 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.004451/0.7162, allocations: 2.909 MB / 0.881 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7163, allocations: 7.594 kB / 0.881 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.7165, allocations: 259.5 kB / 0.8813 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/0.7201, allocations: 0.5659 MB / 0.8818 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.7236, allocations: 3.396 MB / 0.8852 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.7237, allocations: 133.7 kB / 0.8853 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.7239, allocations: 169.4 kB / 0.8854 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.727, allocations: 1.953 MB / 0.8874 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.7271, allocations: 0 / 0.8874 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.7272, allocations: 79.98 kB / 0.8874 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.7273, allocations: 40 kB / 0.8875 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.7307, allocations: 2.113 MB / 0.8895 GB, free: 1.02 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.009416/0.7401, allocations: 6.391 MB / 0.8958 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.7436, allocations: 2.134 MB / 0.8979 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.7449, allocations: 0.7647 MB / 0.8986 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.7454, allocations: 437.6 kB / 0.899 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.7472, allocations: 1.017 MB / 0.9 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.408e-06/0.7472, allocations: 0 / 0.9 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.007081/0.7543, allocations: 2.992 MB / 0.9029 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.7545, allocations: 197.2 kB / 0.9031 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/0.7593, allocations: 4.106 MB / 0.9071 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.7596, allocations: 57.7 kB / 0.9072 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.7603, allocations: 0.8946 MB / 0.9081 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.7608, allocations: 485 kB / 0.9085 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004634/0.7613, allocations: 238.8 kB / 0.9088 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7615, allocations: 357.9 kB / 0.9091 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.7626, allocations: 0.5882 MB / 0.9097 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.764, allocations: 0.8094 MB / 0.9105 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.7664, allocations: 1.325 MB / 0.9118 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.7664, allocations: 0 / 0.9118 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00413/0.7705, allocations: 1.807 MB / 0.9135 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.7706, allocations: 10.97 kB / 0.9135 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7706, allocations: 0 / 0.9135 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.7716, allocations: 220.1 kB / 0.9137 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.7732, allocations: 323.6 kB / 0.914 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.779, allocations: 7.325 MB / 0.9212 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.7808, allocations: 166.8 kB / 0.9214 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.7809, allocations: 51.97 kB / 0.9214 GB, free: 14.94 MB / 0.6387 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.001042/0.782, allocations: 486.1 kB / 0.9219 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/0.7827, allocations: 197.6 kB / 0.9221 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.7874, allocations: 2.161 MB / 0.9242 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.7875, allocations: 16 kB / 0.9242 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.7875, allocations: 4 kB / 0.9242 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.7875, allocations: 7.969 kB / 0.9242 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007671/0.7952, allocations: 4.16 MB / 0.9283 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7952, allocations: 0 / 0.9283 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7967, allocations: 327.5 kB / 0.9286 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008831/0.7976, allocations: 204.1 kB / 0.9288 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.7978, allocations: 39.97 kB / 0.9288 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005492/0.8033, allocations: 7.363 MB / 0.936 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8033, allocations: 4.031 kB / 0.936 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/0.8078, allocations: 2.018 MB / 0.938 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.8089, allocations: 0.506 MB / 0.9385 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/0.8094, allocations: 31.91 kB / 0.9385 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.811, allocations: 113 kB / 0.9386 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.8112, allocations: 113.1 kB / 0.9387 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.8114, allocations: 75.95 kB / 0.9388 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003549/0.815, allocations: 3.149 MB / 0.9419 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.815, allocations: 0 / 0.9419 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002052/0.8171, allocations: 0.6664 MB / 0.9425 GB, free: 8.449 MB / 0.6544 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.006213/0.8233, allocations: 3.24 MB / 0.9457 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005347/0.8286, allocations: 2.504 MB / 0.9481 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.8287, allocations: 12.61 kB / 0.9481 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.8308, allocations: 1.422 MB / 0.9495 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.8337, allocations: 0.5379 MB / 0.95 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/0.8668, allocations: 22.87 MB / 0.9724 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.8682, allocations: 1.541 MB / 0.9739 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00209/0.8703, allocations: 0.5364 MB / 0.9744 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.8715, allocations: 0.9014 MB / 0.9753 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.8715, allocations: 0 / 0.9753 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0911/0.9626, allocations: 48.31 MB / 1.022 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.8, allocations: 0.625 kB / 1.022 GB, free: 6.355 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)