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.001032/0.001032, allocations: 102.4 kB / 15.98 MB, free: 5.863 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.00102/0.00102, allocations: 196.6 kB / 16.91 MB, free: 5.727 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.176/1.176, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6584/0.6584, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.89 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 76.17 MB / 0.556 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.1513/0.4405, allocations: 166.1 MB / 0.7182 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.4586, allocations: 17.14 MB / 0.7349 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.4598, allocations: 27.81 kB / 0.735 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.4612, allocations: 497 kB / 0.7354 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.4652, allocations: 1.628 MB / 0.737 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.468, allocations: 1.293 MB / 0.7383 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.4707, allocations: 2.855 MB / 0.7411 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.473, allocations: 1.956 MB / 0.743 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.4775, allocations: 1.421 MB / 0.7444 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4788, allocations: 1.163 MB / 0.7455 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003663/0.4792, allocations: 220 kB / 0.7457 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.4814, allocations: 1.552 MB / 0.7472 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.2438/0.7253, allocations: 0.7894 MB / 0.748 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.7267, allocations: 1.278 MB / 0.7493 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.7311, allocations: 3.713 MB / 0.7529 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7311, allocations: 1.875 kB / 0.7529 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7311, allocations: 0.875 kB / 0.7529 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.7312, allocations: 0.5938 kB / 0.7529 GB, free: 7.438 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.004478/0.7356, allocations: 2.91 MB / 0.7557 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7357, allocations: 9.969 kB / 0.7557 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000284/0.736, allocations: 250.4 kB / 0.756 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.7396, allocations: 0.5633 MB / 0.7565 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.7432, allocations: 3.386 MB / 0.7598 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.7433, allocations: 132.1 kB / 0.76 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.7435, allocations: 168.6 kB / 0.7601 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.7467, allocations: 1.942 MB / 0.762 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.7468, allocations: 0.8438 kB / 0.762 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.7469, allocations: 81.16 kB / 0.7621 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.747, allocations: 40.91 kB / 0.7621 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.7501, allocations: 2.088 MB / 0.7642 GB, free: 5.203 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.007506/0.7576, allocations: 6.59 MB / 0.7706 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.7605, allocations: 2.093 MB / 0.7726 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.7617, allocations: 0.7642 MB / 0.7734 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/0.7621, allocations: 428.9 kB / 0.7738 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.7635, allocations: 1.004 MB / 0.7748 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.316e-06/0.7635, allocations: 1.031 kB / 0.7748 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.005592/0.7691, allocations: 2.961 MB / 0.7777 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.7692, allocations: 201 kB / 0.7779 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.7724, allocations: 4.051 MB / 0.7818 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.7725, allocations: 57.11 kB / 0.7819 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.773, allocations: 0.8965 MB / 0.7828 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.7732, allocations: 479 kB / 0.7832 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.7736, allocations: 240.1 kB / 0.7834 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7737, allocations: 353.3 kB / 0.7838 GB, free: 16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/0.7746, allocations: 0.5701 MB / 0.7843 GB, free: 16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009957/0.7756, allocations: 0.7976 MB / 0.7851 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.7774, allocations: 1.312 MB / 0.7864 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.7774, allocations: 3.594 kB / 0.7864 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003056/0.7805, allocations: 1.768 MB / 0.7881 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7805, allocations: 6.531 kB / 0.7881 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7805, allocations: 0 / 0.7881 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.7814, allocations: 219.5 kB / 0.7883 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.7828, allocations: 321.9 kB / 0.7886 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.7881, allocations: 7.326 MB / 0.7958 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.7895, allocations: 179.1 kB / 0.796 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7896, allocations: 52.42 kB / 0.796 GB, free: 8.699 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 (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.0007225/0.7903, allocations: 490.4 kB / 0.7965 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.7907, allocations: 191.6 kB / 0.7967 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.7945, allocations: 2.148 MB / 0.7988 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7945, allocations: 16.97 kB / 0.7988 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7945, allocations: 0 / 0.7988 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.7946, allocations: 8.984 kB / 0.7988 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006023/0.8006, allocations: 4.103 MB / 0.8028 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8006, allocations: 0 / 0.8028 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.8019, allocations: 319.2 kB / 0.8031 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008214/0.8028, allocations: 207.5 kB / 0.8033 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.8029, allocations: 40.61 kB / 0.8033 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/0.8081, allocations: 7.36 MB / 0.8105 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8082, allocations: 4.125 kB / 0.8105 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.8117, allocations: 2 MB / 0.8125 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/0.8126, allocations: 0.5096 MB / 0.813 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.8129, allocations: 32.19 kB / 0.813 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.8143, allocations: 138.4 kB / 0.8131 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.8145, allocations: 119.2 kB / 0.8133 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.8146, allocations: 66.14 kB / 0.8133 GB, free: 500 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002491/0.8171, allocations: 3.121 MB / 0.8164 GB, free: 388 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8171, allocations: 0 / 0.8164 GB, free: 388 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001714/0.8188, allocations: 0.6877 MB / 0.817 GB, free: 284 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.005128/0.824, allocations: 3.203 MB / 0.8202 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004617/0.8286, allocations: 2.491 MB / 0.8226 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8286, allocations: 1.5 kB / 0.8226 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.8305, allocations: 1.414 MB / 0.824 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.8327, allocations: 0.5578 MB / 0.8245 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0315/0.8642, allocations: 23.12 MB / 0.8471 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.8654, allocations: 1.53 MB / 0.8486 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001907/0.8673, allocations: 0.5382 MB / 0.8491 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.8684, allocations: 0.8976 MB / 0.85 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.8684, allocations: 0 / 0.85 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3976/1.266, allocations: 48.23 MB / 0.8971 GB, free: 3.738 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/1.266, allocations: 267.1 kB / 0.8974 GB, free: 3.379 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/4.536, allocations: 6.969 kB / 0.8974 GB, free: 3.375 MB / 0.67 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)