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.001061/0.001061, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001114/0.001114, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7901/0.7901, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 77.94 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1778/0.4992, allocations: 168.4 MB / 0.7318 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.5208, allocations: 17.36 MB / 0.7487 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.5221, allocations: 31.81 kB / 0.7487 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3628/0.885, allocations: 0.5676 MB / 0.7493 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005368/0.8905, allocations: 1.772 MB / 0.751 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.8945, allocations: 1.429 MB / 0.7524 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004634/0.8991, allocations: 2.878 MB / 0.7552 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.9027, allocations: 1.942 MB / 0.7571 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.9077, allocations: 1.421 MB / 0.7585 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.9103, allocations: 1.126 MB / 0.7596 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005735/0.9109, allocations: 221.8 kB / 0.7598 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.9154, allocations: 1.518 MB / 0.7613 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.9165, allocations: 0.8075 MB / 0.7621 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.9185, allocations: 1.286 MB / 0.7634 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.9243, allocations: 3.674 MB / 0.7669 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9244, allocations: 5.156 kB / 0.767 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9244, allocations: 1.312 kB / 0.767 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.585e-05/0.9245, allocations: 0 / 0.767 GB, free: 1.176 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.006481/0.931, allocations: 2.935 MB / 0.7698 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.931, allocations: 9.812 kB / 0.7698 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.9313, allocations: 251.5 kB / 0.7701 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.9353, allocations: 0.5689 MB / 0.7706 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.9393, allocations: 3.398 MB / 0.7739 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.9394, allocations: 128.2 kB / 0.7741 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.9397, allocations: 171 kB / 0.7742 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.9429, allocations: 1.962 MB / 0.7761 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.9429, allocations: 0.9062 kB / 0.7761 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.9431, allocations: 73.38 kB / 0.7762 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.9431, allocations: 41.91 kB / 0.7763 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.9462, allocations: 2.118 MB / 0.7783 GB, free: 14.9 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.009027/0.9553, allocations: 6.78 MB / 0.7849 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.9584, allocations: 2.13 MB / 0.787 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.9595, allocations: 0.7737 MB / 0.7878 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.9601, allocations: 431.1 kB / 0.7882 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.9617, allocations: 1.017 MB / 0.7892 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/0.9617, allocations: 0 / 0.7892 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006422/0.9681, allocations: 3.012 MB / 0.7921 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.9682, allocations: 195.5 kB / 0.7923 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.9724, allocations: 4.096 MB / 0.7963 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.9726, allocations: 56.58 kB / 0.7964 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006541/0.9733, allocations: 0.8961 MB / 0.7972 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.9737, allocations: 482 kB / 0.7977 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.974, allocations: 245.1 kB / 0.7979 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9742, allocations: 354.5 kB / 0.7983 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.9753, allocations: 0.5775 MB / 0.7988 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.9765, allocations: 0.8195 MB / 0.7996 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.9789, allocations: 1.335 MB / 0.8009 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9789, allocations: 5.25 kB / 0.8009 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004071/0.9829, allocations: 1.799 MB / 0.8027 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.983, allocations: 4.344 kB / 0.8027 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.983, allocations: 3 kB / 0.8027 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.9841, allocations: 208.4 kB / 0.8029 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.9857, allocations: 339.3 kB / 0.8032 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/0.9924, allocations: 7.322 MB / 0.8104 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9945, allocations: 166.3 kB / 0.8105 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.9947, allocations: 51.25 kB / 0.8106 GB, free: 2.332 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.001128/0.9958, allocations: 499.6 kB / 0.8111 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.9964, allocations: 195.5 kB / 0.8112 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/1.001, allocations: 2.163 MB / 0.8134 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.001, allocations: 15.44 kB / 0.8134 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.001, allocations: 2.5 kB / 0.8134 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.001, allocations: 7.922 kB / 0.8134 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/1.008, allocations: 4.145 MB / 0.8174 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.008, allocations: 7.969 kB / 0.8174 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.009, allocations: 318.2 kB / 0.8177 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/1.01, allocations: 198.9 kB / 0.8179 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.01, allocations: 44.84 kB / 0.818 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005623/1.016, allocations: 7.348 MB / 0.8252 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.016, allocations: 3.188 kB / 0.8252 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/1.021, allocations: 2.023 MB / 0.8271 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.022, allocations: 0.5098 MB / 0.8276 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/1.022, allocations: 36.28 kB / 0.8277 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.023, allocations: 113.3 kB / 0.8278 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.024, allocations: 112.3 kB / 0.8279 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.024, allocations: 76.94 kB / 0.828 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003307/1.027, allocations: 3.141 MB / 0.831 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.51e-07/1.027, allocations: 0.9375 kB / 0.831 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002092/1.029, allocations: 0.686 MB / 0.8317 GB, free: 0.5312 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.006208/1.035, allocations: 3.237 MB / 0.8349 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00565/1.041, allocations: 2.508 MB / 0.8373 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.041, allocations: 7.75 kB / 0.8373 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/1.043, allocations: 1.42 MB / 0.8387 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.047, allocations: 0.5622 MB / 0.8392 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.079, allocations: 22.76 MB / 0.8615 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.08, allocations: 1.542 MB / 0.863 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002193/1.082, allocations: 0.5252 MB / 0.8635 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.083, allocations: 0.8975 MB / 0.8644 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/1.083, allocations: 0 / 0.8644 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0956/1.179, allocations: 49.1 MB / 0.9123 GB, free: 14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.87, allocations: 11.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)