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.001144/0.001144, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.001184/0.001184, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.721/0.721, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.72 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.157, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5335/0.6906, allocations: 168.4 MB / 0.796 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.711, allocations: 17.36 MB / 0.8129 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.7135, allocations: 33.62 kB / 0.813 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.7156, allocations: 0.587 MB / 0.8135 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.7214, allocations: 1.809 MB / 0.8153 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.7256, allocations: 1.439 MB / 0.8167 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004565/0.7302, allocations: 2.882 MB / 0.8195 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.7331, allocations: 1.937 MB / 0.8214 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.7377, allocations: 1.47 MB / 0.8229 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.7398, allocations: 1.112 MB / 0.8239 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.7403, allocations: 225 kB / 0.8242 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.744, allocations: 1.549 MB / 0.8257 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007163/0.7447, allocations: 0.8069 MB / 0.8265 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.7463, allocations: 1.268 MB / 0.8277 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006384/0.7527, allocations: 3.723 MB / 0.8313 GB, free: 488 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7527, allocations: 0 / 0.8313 GB, free: 488 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7528, allocations: 0 / 0.8313 GB, free: 488 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.012e-05/0.7528, allocations: 0 / 0.8313 GB, free: 488 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005977/0.7588, allocations: 2.909 MB / 0.8342 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.7589, allocations: 10.19 kB / 0.8342 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003302/0.7592, allocations: 249.2 kB / 0.8344 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/0.763, allocations: 0.5677 MB / 0.835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.7674, allocations: 3.422 MB / 0.8383 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.7676, allocations: 129.9 kB / 0.8384 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.7679, allocations: 171 kB / 0.8386 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.7717, allocations: 1.945 MB / 0.8405 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.7718, allocations: 3.938 kB / 0.8405 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.7719, allocations: 75.98 kB / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.772, allocations: 44 kB / 0.8406 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.7756, allocations: 2.085 MB / 0.8427 GB, free: 8.598 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.01084/0.7864, allocations: 6.54 MB / 0.849 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.7899, allocations: 2.091 MB / 0.8511 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.7912, allocations: 0.7613 MB / 0.8518 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7919, allocations: 432.6 kB / 0.8522 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.7936, allocations: 1.013 MB / 0.8532 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.246e-06/0.7937, allocations: 0 / 0.8532 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.007101/0.8008, allocations: 2.961 MB / 0.8561 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.8009, allocations: 197.2 kB / 0.8563 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/0.8058, allocations: 4.056 MB / 0.8603 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000364/0.8062, allocations: 65.69 kB / 0.8603 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008204/0.8071, allocations: 0.8827 MB / 0.8612 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/0.8076, allocations: 482 kB / 0.8617 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.808, allocations: 242.7 kB / 0.8619 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.8082, allocations: 357.9 kB / 0.8622 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.8093, allocations: 0.5687 MB / 0.8628 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.8106, allocations: 0.7969 MB / 0.8636 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.813, allocations: 1.31 MB / 0.8648 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.813, allocations: 0 / 0.8648 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004065/0.8171, allocations: 1.768 MB / 0.8666 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.8172, allocations: 4.094 kB / 0.8666 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8172, allocations: 12 kB / 0.8666 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.8182, allocations: 216 kB / 0.8668 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.8199, allocations: 319.6 kB / 0.8671 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/0.8264, allocations: 7.312 MB / 0.8742 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8282, allocations: 158.8 kB / 0.8744 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/0.8285, allocations: 47.97 kB / 0.8744 GB, free: 6.602 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 (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.001152/0.8297, allocations: 493.5 kB / 0.8749 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/0.8304, allocations: 193.6 kB / 0.8751 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.835, allocations: 2.13 MB / 0.8772 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.8351, allocations: 16 kB / 0.8772 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.8351, allocations: 3.938 kB / 0.8772 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.8351, allocations: 7.969 kB / 0.8772 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007711/0.8428, allocations: 4.109 MB / 0.8812 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.8429, allocations: 0 / 0.8812 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.8443, allocations: 315.5 kB / 0.8815 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008697/0.8452, allocations: 208.1 kB / 0.8817 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.8453, allocations: 47.95 kB / 0.8818 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005943/0.8513, allocations: 7.35 MB / 0.8889 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8513, allocations: 0 / 0.8889 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004444/0.8557, allocations: 2.001 MB / 0.8909 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.8569, allocations: 0.5137 MB / 0.8914 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/0.8574, allocations: 28 kB / 0.8914 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.859, allocations: 102.1 kB / 0.8915 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.8593, allocations: 117.1 kB / 0.8916 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.8595, allocations: 67.95 kB / 0.8917 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003633/0.8631, allocations: 3.12 MB / 0.8947 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8631, allocations: 3.938 kB / 0.8947 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00226/0.8654, allocations: 0.6782 MB / 0.8954 GB, free: 280 kB / 0.6544 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.006355/0.8718, allocations: 3.207 MB / 0.8985 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003788/0.8756, allocations: 2.059 MB / 0.9005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8756, allocations: 0.5625 kB / 0.9005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.8777, allocations: 1.411 MB / 0.9019 GB, free: 9.641 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.8808, allocations: 0.5653 MB / 0.9025 GB, free: 9.102 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/0.915, allocations: 20.75 MB / 0.9227 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.9167, allocations: 1.526 MB / 0.9242 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002141/0.9189, allocations: 0.5291 MB / 0.9247 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.9205, allocations: 0.8976 MB / 0.9256 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.9205, allocations: 0 / 0.9256 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/1.084, allocations: 48.91 MB / 0.9734 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.29, allocations: 0 / 0.9734 GB, free: 0.6641 MB / 0.7325 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)