Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 214.8 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8361/0.8361, allocations: 134 MB / 447.2 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.88 kB / 0.6193 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 85.91 MB / 0.7032 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5927/0.7758, allocations: 170.6 MB / 0.8698 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.8027, allocations: 17.49 MB / 0.8868 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.8045, allocations: 47.62 kB / 0.8869 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.8067, allocations: 0.5547 MB / 0.8874 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.8123, allocations: 1.699 MB / 0.8891 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.8165, allocations: 1.451 MB / 0.8905 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003969/0.8205, allocations: 2.556 MB / 0.893 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.8234, allocations: 1.624 MB / 0.8946 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.8286, allocations: 1.442 MB / 0.896 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/0.8309, allocations: 1.066 MB / 0.897 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007439/0.8316, allocations: 208 kB / 0.8972 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.8357, allocations: 1.657 MB / 0.8989 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.8368, allocations: 0.7905 MB / 0.8996 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.8388, allocations: 1.185 MB / 0.9008 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006308/0.8451, allocations: 3.598 MB / 0.9043 GB, free: 8.625 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8451, allocations: 7.922 kB / 0.9043 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8451, allocations: 0 / 0.9043 GB, free: 8.617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001098/0.8453, allocations: 0 / 0.9043 GB, free: 8.617 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.006366/0.8516, allocations: 2.807 MB / 0.907 GB, free: 5.762 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8517, allocations: 12.03 kB / 0.9071 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.511e-05/0.8517, allocations: 39.28 kB / 0.9071 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004899/0.8522, allocations: 244.5 kB / 0.9073 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.8568, allocations: 0.6228 MB / 0.9079 GB, free: 4.836 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.8618, allocations: 3.342 MB / 0.9112 GB, free: 1.461 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.862, allocations: 127.2 kB / 0.9113 GB, free: 1.336 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.8624, allocations: 160 kB / 0.9115 GB, free: 1.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.8673, allocations: 1.869 MB / 0.9133 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.8673, allocations: 8 kB / 0.9133 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.8676, allocations: 72 kB / 0.9134 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.8676, allocations: 40 kB / 0.9134 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/0.8719, allocations: 2.038 MB / 0.9154 GB, free: 13.1 MB / 0.6856 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.0123/0.8842, allocations: 5.988 MB / 0.9213 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.8877, allocations: 1.62 MB / 0.9228 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.889, allocations: 0.6788 MB / 0.9235 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.8895, allocations: 121.3 kB / 0.9236 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.8914, allocations: 0.9308 MB / 0.9245 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.537e-06/0.8914, allocations: 0 / 0.9245 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.00707/0.8985, allocations: 2.469 MB / 0.9269 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.8986, allocations: 209.2 kB / 0.9271 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/0.9043, allocations: 4.035 MB / 0.9311 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.9046, allocations: 53.7 kB / 0.9311 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009963/0.9056, allocations: 0.8838 MB / 0.932 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006405/0.9063, allocations: 483.9 kB / 0.9324 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.9068, allocations: 218.9 kB / 0.9327 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.907, allocations: 361.8 kB / 0.933 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.9082, allocations: 0.5374 MB / 0.9335 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.9096, allocations: 0.7527 MB / 0.9343 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.912, allocations: 1.259 MB / 0.9355 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.912, allocations: 4 kB / 0.9355 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004142/0.9162, allocations: 1.691 MB / 0.9371 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.9162, allocations: 16.03 kB / 0.9372 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9162, allocations: 0 / 0.9372 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.9173, allocations: 212.1 kB / 0.9374 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.9188, allocations: 307.6 kB / 0.9377 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/0.9257, allocations: 6.803 MB / 0.9443 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.9274, allocations: 151.2 kB / 0.9444 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.9277, allocations: 47.97 kB / 0.9445 GB, free: 14.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.001317/0.929, allocations: 469.7 kB / 0.9449 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/0.9296, allocations: 198.8 kB / 0.9451 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.9346, allocations: 2.039 MB / 0.9471 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.9346, allocations: 16 kB / 0.9471 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.9346, allocations: 0 / 0.9471 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.9346, allocations: 7.969 kB / 0.9471 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/0.9426, allocations: 3.904 MB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9426, allocations: 3.938 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.944, allocations: 319.6 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009359/0.9449, allocations: 196.1 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.9451, allocations: 43.97 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/0.9517, allocations: 6.831 MB / 0.9582 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9517, allocations: 3.938 kB / 0.9582 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.9561, allocations: 1.916 MB / 0.96 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.9573, allocations: 434.1 kB / 0.9605 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/0.9577, allocations: 31.94 kB / 0.9605 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.9591, allocations: 96.03 kB / 0.9606 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.9593, allocations: 117 kB / 0.9607 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.9595, allocations: 67.95 kB / 0.9608 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003985/0.9635, allocations: 3.108 MB / 0.9638 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9635, allocations: 0 / 0.9638 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002108/0.9656, allocations: 0.6469 MB / 0.9644 GB, free: 9.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007152/0.9727, allocations: 3.084 MB / 0.9674 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.9765, allocations: 1.922 MB / 0.9693 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.9765, allocations: 4.891 kB / 0.9693 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.9787, allocations: 1.336 MB / 0.9706 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/0.9818, allocations: 0.5271 MB / 0.9711 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/1.02, allocations: 20.52 MB / 0.9912 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/1.021, allocations: 1.513 MB / 0.9926 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002096/1.023, allocations: 0.5127 MB / 0.9931 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.025, allocations: 0.8624 MB / 0.994 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/1.025, allocations: 0 / 0.994 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.138, allocations: 48.16 MB / 1.041 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/17.67, allocations: 4.062 kB / 1.041 GB, free: 10.72 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.630788334063254] Failed to read output from testmodel.py, exit status != 0: 17.974596029962413 18.000897974 17.152037078 Calling exit ...