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.001011/0.001011, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001264/0.001264, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.2/1.2, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6469/0.6469, allocations: 115.3 MB / 406.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 76.17 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1472/0.4261, allocations: 166.1 MB / 0.7182 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.4443, allocations: 17.16 MB / 0.735 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4457, allocations: 31.81 kB / 0.735 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.4476, allocations: 493 kB / 0.7355 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.4522, allocations: 1.635 MB / 0.7371 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.4554, allocations: 1.294 MB / 0.7384 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.4589, allocations: 2.894 MB / 0.7412 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.4617, allocations: 1.944 MB / 0.7431 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004819/0.4665, allocations: 1.428 MB / 0.7445 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.468, allocations: 1.173 MB / 0.7456 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.4685, allocations: 224 kB / 0.7458 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.4712, allocations: 1.556 MB / 0.7474 GB, free: 104 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.2534/0.7246, allocations: 0.8062 MB / 0.7482 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.7262, allocations: 1.284 MB / 0.7494 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.731, allocations: 3.735 MB / 0.7531 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.731, allocations: 0 / 0.7531 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.731, allocations: 1.156 kB / 0.7531 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.7311, allocations: 0.6562 kB / 0.7531 GB, free: 7.367 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.005181/0.7362, allocations: 2.939 MB / 0.7559 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7363, allocations: 11.41 kB / 0.7559 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.7366, allocations: 249 kB / 0.7562 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.7405, allocations: 0.567 MB / 0.7567 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/0.7448, allocations: 3.4 MB / 0.76 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.7449, allocations: 129.4 kB / 0.7602 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.7451, allocations: 173.9 kB / 0.7603 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.7487, allocations: 1.955 MB / 0.7622 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.7487, allocations: 1.75 kB / 0.7622 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.7489, allocations: 73.91 kB / 0.7623 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.7489, allocations: 40.34 kB / 0.7624 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.7523, allocations: 2.119 MB / 0.7644 GB, free: 5.121 MB / 0.5762 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.008991/0.7613, allocations: 6.747 MB / 0.771 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.7644, allocations: 2.137 MB / 0.7731 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.7656, allocations: 0.7759 MB / 0.7739 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.7661, allocations: 432.3 kB / 0.7743 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.7677, allocations: 1.015 MB / 0.7753 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 4.098e-06/0.7677, allocations: 0.8125 kB / 0.7753 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.006378/0.7741, allocations: 2.999 MB / 0.7782 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.7742, allocations: 202.1 kB / 0.7784 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.7785, allocations: 4.101 MB / 0.7824 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.7787, allocations: 61.45 kB / 0.7825 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.7794, allocations: 0.891 MB / 0.7833 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.7797, allocations: 483.3 kB / 0.7838 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.78, allocations: 244.7 kB / 0.784 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7802, allocations: 352.8 kB / 0.7844 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.7811, allocations: 0.5878 MB / 0.7849 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.7822, allocations: 0.8109 MB / 0.7857 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.7842, allocations: 1.333 MB / 0.787 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7842, allocations: 4.094 kB / 0.787 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003558/0.7878, allocations: 1.793 MB / 0.7888 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7878, allocations: 7.625 kB / 0.7888 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7879, allocations: 1.938 kB / 0.7888 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.7889, allocations: 211.6 kB / 0.789 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.7903, allocations: 339.8 kB / 0.7893 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.7956, allocations: 7.325 MB / 0.7965 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.7974, allocations: 190.6 kB / 0.7966 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.7975, allocations: 47.81 kB / 0.7967 GB, free: 8.594 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.0009937/0.7985, allocations: 498.4 kB / 0.7972 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/0.7991, allocations: 195.4 kB / 0.7974 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.8034, allocations: 2.156 MB / 0.7995 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.8034, allocations: 17.34 kB / 0.7995 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8034, allocations: 0.875 kB / 0.7995 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.8034, allocations: 9.422 kB / 0.7995 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006999/0.8104, allocations: 4.144 MB / 0.8035 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8104, allocations: 0 / 0.8035 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.8118, allocations: 321 kB / 0.8038 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/0.8126, allocations: 204.6 kB / 0.804 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.8128, allocations: 46.61 kB / 0.8041 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.8177, allocations: 7.363 MB / 0.8113 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8178, allocations: 0 / 0.8113 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.8215, allocations: 2.02 MB / 0.8132 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009685/0.8225, allocations: 0.5136 MB / 0.8137 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/0.8229, allocations: 36.59 kB / 0.8138 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.8245, allocations: 143.5 kB / 0.8139 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.8248, allocations: 115.6 kB / 0.814 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.8249, allocations: 69.16 kB / 0.8141 GB, free: 388 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002791/0.8277, allocations: 3.147 MB / 0.8172 GB, free: 276 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8277, allocations: 0 / 0.8172 GB, free: 276 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001925/0.8297, allocations: 0.693 MB / 0.8178 GB, free: 172 kB / 0.5919 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.00552/0.8352, allocations: 3.225 MB / 0.821 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004984/0.8402, allocations: 2.508 MB / 0.8234 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8402, allocations: 5.531 kB / 0.8234 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8421, allocations: 1.425 MB / 0.8248 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.8447, allocations: 0.5613 MB / 0.8254 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.8775, allocations: 23.53 MB / 0.8484 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.8786, allocations: 1.544 MB / 0.8499 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002033/0.8806, allocations: 0.5251 MB / 0.8504 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8818, allocations: 0.9054 MB / 0.8513 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.8818, allocations: 1.094 kB / 0.8513 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8479/1.73, allocations: 48.81 MB / 0.8989 GB, free: 1.973 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/1.73, allocations: 279.8 kB / 0.8992 GB, free: 1.59 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.163/4.893, allocations: 0 / 0.8992 GB, free: 1.59 MB / 0.67 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)