Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.001206/0.001206, allocations: 100.1 kB / 15.88 MB, free: 12 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.001271/0.001271, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.294/1.294, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 56.28 kB / 493 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 76.2 MB / 0.5558 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.405/0.546, allocations: 166 MB / 0.718 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.5681, allocations: 17.38 MB / 0.735 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.5696, allocations: 27.81 kB / 0.735 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.5716, allocations: 485 kB / 0.7355 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.5766, allocations: 1.589 MB / 0.737 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.58, allocations: 1.269 MB / 0.7382 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.5835, allocations: 3.093 MB / 0.7413 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.5862, allocations: 1.802 MB / 0.743 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.5917, allocations: 1.265 MB / 0.7443 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.5939, allocations: 1.093 MB / 0.7453 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005921/0.5945, allocations: 120 kB / 0.7454 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.5983, allocations: 1.571 MB / 0.747 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.5993, allocations: 0.7085 MB / 0.7477 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.6013, allocations: 1.169 MB / 0.7488 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.6062, allocations: 3.633 MB / 0.7524 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6062, allocations: 0 / 0.7524 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6063, allocations: 0 / 0.7524 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.131e-05/0.6063, allocations: 0 / 0.7524 GB, free: 13.68 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00473/0.611, allocations: 2.908 MB / 0.7552 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6111, allocations: 8.031 kB / 0.7552 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002854/0.6114, allocations: 244.9 kB / 0.7554 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.6152, allocations: 0.5706 MB / 0.756 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.6187, allocations: 3.389 MB / 0.7593 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.6188, allocations: 131.4 kB / 0.7594 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.6191, allocations: 168 kB / 0.7596 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.6222, allocations: 1.945 MB / 0.7615 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.6222, allocations: 0 / 0.7615 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.6224, allocations: 76 kB / 0.7616 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.6224, allocations: 43.94 kB / 0.7616 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.6257, allocations: 2.085 MB / 0.7636 GB, free: 1.934 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.008263/0.634, allocations: 6.582 MB / 0.7701 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.6372, allocations: 2.095 MB / 0.7721 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.6384, allocations: 0.7607 MB / 0.7729 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.6389, allocations: 433.6 kB / 0.7733 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.6406, allocations: 1.013 MB / 0.7743 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.615e-06/0.6406, allocations: 0 / 0.7743 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006516/0.6471, allocations: 2.957 MB / 0.7771 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.6472, allocations: 201.2 kB / 0.7773 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.6515, allocations: 4.06 MB / 0.7813 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.6516, allocations: 57.7 kB / 0.7814 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/0.6523, allocations: 0.8866 MB / 0.7822 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.6527, allocations: 477 kB / 0.7827 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.6531, allocations: 238.8 kB / 0.7829 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6532, allocations: 365.8 kB / 0.7833 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.6543, allocations: 0.5648 MB / 0.7838 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.6556, allocations: 0.7993 MB / 0.7846 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.6578, allocations: 1.31 MB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6578, allocations: 0 / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003816/0.6617, allocations: 1.772 MB / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6617, allocations: 4 kB / 0.7876 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6617, allocations: 11.98 kB / 0.7876 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.6628, allocations: 212.2 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.6645, allocations: 319.5 kB / 0.7881 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.6707, allocations: 6.81 MB / 0.7948 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.6726, allocations: 170.9 kB / 0.7949 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6728, allocations: 51.91 kB / 0.795 GB, free: 352 kB / 0.6075 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 (144): * Single equations (assignments): 139 * 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.001116/0.6739, allocations: 493.6 kB / 0.7955 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.6743, allocations: 197.6 kB / 0.7956 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.6792, allocations: 2.141 MB / 0.7977 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6792, allocations: 16 kB / 0.7978 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6792, allocations: 4 kB / 0.7978 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.6793, allocations: 7.969 kB / 0.7978 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007047/0.6863, allocations: 4.094 MB / 0.8018 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6863, allocations: 0 / 0.8018 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.6878, allocations: 319.5 kB / 0.8021 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009802/0.6888, allocations: 216.1 kB / 0.8023 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.6889, allocations: 39.97 kB / 0.8023 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.695, allocations: 6.85 MB / 0.809 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.695, allocations: 0 / 0.809 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/0.6994, allocations: 1.995 MB / 0.8109 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/0.7004, allocations: 0.5059 MB / 0.8114 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.7006, allocations: 39.92 kB / 0.8115 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.7021, allocations: 137.8 kB / 0.8116 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.7024, allocations: 109.2 kB / 0.8117 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.7025, allocations: 71.94 kB / 0.8118 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003607/0.7062, allocations: 3.116 MB / 0.8148 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7062, allocations: 0 / 0.8148 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002009/0.7082, allocations: 0.6899 MB / 0.8155 GB, free: 10.47 MB / 0.6387 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.006059/0.7143, allocations: 3.198 MB / 0.8186 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.7178, allocations: 2.047 MB / 0.8206 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7178, allocations: 0.5625 kB / 0.8206 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.7199, allocations: 1.411 MB / 0.822 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.7224, allocations: 0.5206 MB / 0.8225 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2457/0.9682, allocations: 23.11 MB / 0.8451 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.9693, allocations: 1.533 MB / 0.8466 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001998/0.9713, allocations: 0.517 MB / 0.8471 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.9724, allocations: 0.9023 MB / 0.848 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.9724, allocations: 1.25 kB / 0.848 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05996/1.032, allocations: 47.06 MB / 0.8939 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.033, allocations: 277.6 kB / 0.8942 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.268, allocations: 3.938 kB / 0.8942 GB, free: 183.3 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)