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.001239/0.001239, allocations: 103.7 kB / 16.4 MB, free: 6.461 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.001215/0.001215, allocations: 197.8 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8201/0.8201, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 68.44 kB / 0.5716 GB, free: 27.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 78.56 MB / 0.6483 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4648/0.5932, allocations: 168.5 MB / 0.8129 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.6117, allocations: 17.37 MB / 0.8298 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.6129, allocations: 31.72 kB / 0.8299 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.6144, allocations: 0.5698 MB / 0.8304 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.6187, allocations: 1.781 MB / 0.8322 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.6218, allocations: 1.438 MB / 0.8336 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.6245, allocations: 2.894 MB / 0.8364 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.6266, allocations: 1.943 MB / 0.8383 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.63, allocations: 1.42 MB / 0.8397 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.6312, allocations: 1.112 MB / 0.8408 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.6315, allocations: 221.2 kB / 0.841 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.6341, allocations: 1.565 MB / 0.8425 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.6348, allocations: 0.8061 MB / 0.8433 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.636, allocations: 1.281 MB / 0.8445 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.64, allocations: 3.765 MB / 0.8482 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.64, allocations: 0 / 0.8482 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.64, allocations: 2.5 kB / 0.8482 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.6401, allocations: 0 / 0.8482 GB, free: 8.641 MB / 0.6075 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.004602/0.6447, allocations: 3.025 MB / 0.8512 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6447, allocations: 10.25 kB / 0.8512 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/0.645, allocations: 253.6 kB / 0.8514 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.6487, allocations: 0.576 MB / 0.852 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.6529, allocations: 3.446 MB / 0.8554 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6531, allocations: 135.4 kB / 0.8555 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.6533, allocations: 171.9 kB / 0.8557 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.6568, allocations: 1.956 MB / 0.8576 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.6569, allocations: 0 / 0.8576 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.657, allocations: 76 kB / 0.8576 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.6571, allocations: 43.94 kB / 0.8577 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.661, allocations: 2.117 MB / 0.8597 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009682/0.6707, allocations: 6.918 MB / 0.8665 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.6744, allocations: 2.14 MB / 0.8686 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.6758, allocations: 0.7647 MB / 0.8693 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.6764, allocations: 429.6 kB / 0.8697 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.6783, allocations: 1.024 MB / 0.8707 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 2.835e-06/0.6783, allocations: 0 / 0.8707 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.00713/0.6855, allocations: 3.013 MB / 0.8737 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.6856, allocations: 201.2 kB / 0.8739 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.6904, allocations: 4.094 MB / 0.8779 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.6905, allocations: 61.69 kB / 0.8779 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.6913, allocations: 0.9039 MB / 0.8788 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.6918, allocations: 0.5035 MB / 0.8793 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.6922, allocations: 238.8 kB / 0.8795 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6924, allocations: 349.9 kB / 0.8799 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.6936, allocations: 0.5882 MB / 0.8805 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.6951, allocations: 0.8078 MB / 0.8812 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.6977, allocations: 1.337 MB / 0.8825 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.6978, allocations: 0 / 0.8825 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004093/0.7019, allocations: 1.812 MB / 0.8843 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7019, allocations: 8.062 kB / 0.8843 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.7019, allocations: 4 kB / 0.8843 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.703, allocations: 204.1 kB / 0.8845 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.7046, allocations: 335.5 kB / 0.8848 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/0.7112, allocations: 7.323 MB / 0.892 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.7125, allocations: 171.4 kB / 0.8922 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7127, allocations: 51.95 kB / 0.8922 GB, free: 10.73 MB / 0.6544 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.0007977/0.7135, allocations: 497.3 kB / 0.8927 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.7138, allocations: 206.6 kB / 0.8929 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.7187, allocations: 2.154 MB / 0.895 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.7187, allocations: 16 kB / 0.895 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7187, allocations: 4 kB / 0.895 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.7188, allocations: 11.91 kB / 0.895 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.7258, allocations: 4.137 MB / 0.8991 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7258, allocations: 4 kB / 0.8991 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7273, allocations: 327.6 kB / 0.8994 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.7283, allocations: 200 kB / 0.8996 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-05/0.7284, allocations: 39.97 kB / 0.8996 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/0.7349, allocations: 7.371 MB / 0.9068 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7349, allocations: 0 / 0.9068 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.7392, allocations: 2.03 MB / 0.9088 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.74, allocations: 0.5227 MB / 0.9093 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.7403, allocations: 32 kB / 0.9093 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7416, allocations: 118.8 kB / 0.9094 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.7418, allocations: 113.2 kB / 0.9095 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.742, allocations: 71.94 kB / 0.9096 GB, free: 8.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003516/0.7455, allocations: 3.152 MB / 0.9127 GB, free: 4.867 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.943e-06/0.7455, allocations: 0 / 0.9127 GB, free: 4.867 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001641/0.7472, allocations: 0.6937 MB / 0.9134 GB, free: 4.172 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.006724/0.7539, allocations: 3.237 MB / 0.9165 GB, free: 1.086 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.7576, allocations: 2.078 MB / 0.9186 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.7576, allocations: 4.547 kB / 0.9186 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.7599, allocations: 1.426 MB / 0.92 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.7622, allocations: 0.5432 MB / 0.9205 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/0.794, allocations: 21.2 MB / 0.9412 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.7954, allocations: 1.545 MB / 0.9427 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001767/0.7972, allocations: 0.5252 MB / 0.9432 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.7985, allocations: 0.9053 MB / 0.9441 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/0.7985, allocations: 0 / 0.9441 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6887/1.487, allocations: 49.55 MB / 0.9925 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.73, allocations: 4.625 kB / 0.9925 GB, free: 3.395 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)