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.00154/0.00154, allocations: 106 kB / 16.4 MB, free: 6.438 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.001785/0.001785, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.05 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5411/0.6849, allocations: 168.4 MB / 0.7961 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.7059, allocations: 17.36 MB / 0.813 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.7083, allocations: 31.62 kB / 0.813 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.7105, allocations: 0.5683 MB / 0.8136 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00624/0.7168, allocations: 1.789 MB / 0.8153 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.7208, allocations: 1.449 MB / 0.8167 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.7251, allocations: 2.902 MB / 0.8196 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.728, allocations: 1.934 MB / 0.8215 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.7322, allocations: 1.453 MB / 0.8229 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.7339, allocations: 1.123 MB / 0.824 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004171/0.7344, allocations: 220.2 kB / 0.8242 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.7377, allocations: 1.564 MB / 0.8257 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.7384, allocations: 0.7993 MB / 0.8265 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.7399, allocations: 1.281 MB / 0.8278 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006399/0.7463, allocations: 3.746 MB / 0.8314 GB, free: 132 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7464, allocations: 0 / 0.8314 GB, free: 132 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7464, allocations: 2.5 kB / 0.8314 GB, free: 132 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.348e-05/0.7465, allocations: 0 / 0.8314 GB, free: 132 kB / 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.006286/0.7528, allocations: 2.934 MB / 0.8343 GB, free: 14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.7529, allocations: 9.844 kB / 0.8343 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/0.7532, allocations: 245.1 kB / 0.8345 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.757, allocations: 0.5731 MB / 0.8351 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.7619, allocations: 3.436 MB / 0.8384 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.762, allocations: 126 kB / 0.8386 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.7623, allocations: 168.8 kB / 0.8387 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/0.7658, allocations: 1.969 MB / 0.8406 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.7659, allocations: 0 / 0.8406 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.766, allocations: 76 kB / 0.8407 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.7661, allocations: 44 kB / 0.8408 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.7697, allocations: 2.117 MB / 0.8428 GB, free: 8.117 MB / 0.6075 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.01042/0.7801, allocations: 6.705 MB / 0.8494 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.7835, allocations: 2.13 MB / 0.8515 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.7848, allocations: 0.7691 MB / 0.8522 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.7854, allocations: 435.8 kB / 0.8526 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/0.7872, allocations: 1.025 MB / 0.8536 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/0.7872, allocations: 0 / 0.8536 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006937/0.7942, allocations: 2.996 MB / 0.8565 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.7943, allocations: 197.2 kB / 0.8567 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.7988, allocations: 4.094 MB / 0.8607 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003239/0.7992, allocations: 57.7 kB / 0.8608 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/0.7999, allocations: 0.9012 MB / 0.8617 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.8004, allocations: 479.5 kB / 0.8621 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/0.8008, allocations: 242.9 kB / 0.8624 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.801, allocations: 353.9 kB / 0.8627 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.8021, allocations: 0.5804 MB / 0.8633 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.8036, allocations: 0.8125 MB / 0.8641 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.8059, allocations: 1.337 MB / 0.8654 GB, free: 332 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.8059, allocations: 0 / 0.8654 GB, free: 332 kB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004138/0.8101, allocations: 1.803 MB / 0.8671 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.8101, allocations: 4 kB / 0.8671 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8101, allocations: 8 kB / 0.8671 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.8112, allocations: 204.1 kB / 0.8673 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.8127, allocations: 331.5 kB / 0.8676 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.8186, allocations: 7.336 MB / 0.8748 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.8204, allocations: 166.8 kB / 0.875 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.8206, allocations: 51.97 kB / 0.875 GB, free: 5.699 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.0009527/0.8216, allocations: 496.9 kB / 0.8755 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.822, allocations: 189.7 kB / 0.8757 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.8265, allocations: 2.161 MB / 0.8778 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.8265, allocations: 16 kB / 0.8778 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8266, allocations: 0 / 0.8778 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.8266, allocations: 11.97 kB / 0.8778 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.8343, allocations: 4.147 MB / 0.8819 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8344, allocations: 0 / 0.8819 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.8359, allocations: 315.6 kB / 0.8822 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008975/0.8368, allocations: 208.1 kB / 0.8824 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.8369, allocations: 43.91 kB / 0.8824 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005964/0.8429, allocations: 7.366 MB / 0.8896 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8429, allocations: 4.125 kB / 0.8896 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.8477, allocations: 2.017 MB / 0.8916 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.849, allocations: 0.5138 MB / 0.8921 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/0.8496, allocations: 24 kB / 0.8921 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.8514, allocations: 114.3 kB / 0.8922 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.8518, allocations: 121.1 kB / 0.8923 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.852, allocations: 67.95 kB / 0.8924 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003595/0.8556, allocations: 3.149 MB / 0.8955 GB, free: 15.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8556, allocations: 0 / 0.8955 GB, free: 15.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002497/0.8581, allocations: 0.6937 MB / 0.8961 GB, free: 15.23 MB / 0.67 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.006188/0.8643, allocations: 3.221 MB / 0.8993 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003736/0.8681, allocations: 2.078 MB / 0.9013 GB, free: 10.03 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.8682, allocations: 12.61 kB / 0.9013 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.8704, allocations: 1.428 MB / 0.9027 GB, free: 8.531 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.8738, allocations: 0.5521 MB / 0.9033 GB, free: 8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/0.9096, allocations: 21.1 MB / 0.9239 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.9112, allocations: 1.533 MB / 0.9254 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002015/0.9132, allocations: 0.529 MB / 0.9259 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.9146, allocations: 0.9093 MB / 0.9268 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of SimCode: time 1.142e-06/0.9146, allocations: 0 / 0.9268 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.016, allocations: 50.49 MB / 0.9761 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.21, allocations: 5.5 kB / 0.9761 GB, free: 13.62 MB / 0.7481 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)