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.001394/0.001394, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001968/0.001968, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.012 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.843/0.843, allocations: 134 MB / 446.4 MB, free: 10.19 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",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.001997/0.001997, allocations: 72.14 kB / 0.6185 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1819, allocations: 85.9 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5711/0.7531, allocations: 170.6 MB / 0.869 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02543/0.7785, allocations: 17.49 MB / 0.8861 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.7801, allocations: 43.62 kB / 0.8861 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.7822, allocations: 0.5508 MB / 0.8867 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.7874, allocations: 1.706 MB / 0.8883 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.7914, allocations: 1.447 MB / 0.8897 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004565/0.796, allocations: 2.56 MB / 0.8922 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.7989, allocations: 1.624 MB / 0.8938 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.8035, allocations: 1.439 MB / 0.8952 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.8055, allocations: 1.066 MB / 0.8963 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006703/0.8062, allocations: 212 kB / 0.8965 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.81, allocations: 1.653 MB / 0.8981 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.811, allocations: 0.7905 MB / 0.8989 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.8131, allocations: 1.189 MB / 0.9 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.8193, allocations: 3.598 MB / 0.9035 GB, free: 8.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8193, allocations: 4 kB / 0.9035 GB, free: 8.617 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8193, allocations: 0 / 0.9035 GB, free: 8.617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.813e-05/0.8194, allocations: 0 / 0.9035 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.00598/0.8254, allocations: 2.809 MB / 0.9063 GB, free: 5.758 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.8254, allocations: 8.031 kB / 0.9063 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004042/0.8258, allocations: 240.5 kB / 0.9065 GB, free: 5.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.8303, allocations: 0.6228 MB / 0.9071 GB, free: 4.879 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.8355, allocations: 3.334 MB / 0.9104 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.8356, allocations: 127.3 kB / 0.9105 GB, free: 1.387 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.836, allocations: 167.9 kB / 0.9107 GB, free: 1.223 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.8406, allocations: 1.873 MB / 0.9125 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.8407, allocations: 0 / 0.9125 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.8409, allocations: 75.94 kB / 0.9126 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.8409, allocations: 40 kB / 0.9126 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.845, allocations: 2.046 MB / 0.9146 GB, free: 13.13 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.01152/0.8565, allocations: 5.993 MB / 0.9204 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.8597, allocations: 1.609 MB / 0.922 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.8611, allocations: 0.6788 MB / 0.9227 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.8616, allocations: 121.3 kB / 0.9228 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.8633, allocations: 0.9379 MB / 0.9237 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.076e-06/0.8633, allocations: 0 / 0.9237 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006605/0.8699, allocations: 2.473 MB / 0.9261 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.8701, allocations: 201.2 kB / 0.9263 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00533/0.8754, allocations: 4.035 MB / 0.9303 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.8756, allocations: 53.7 kB / 0.9303 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.8765, allocations: 0.8915 MB / 0.9312 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.877, allocations: 475.9 kB / 0.9316 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/0.8774, allocations: 218.9 kB / 0.9318 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.8775, allocations: 361.9 kB / 0.9322 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.8786, allocations: 0.5296 MB / 0.9327 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.8799, allocations: 0.7579 MB / 0.9334 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.8822, allocations: 1.255 MB / 0.9347 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8822, allocations: 0 / 0.9347 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003877/0.8861, allocations: 1.695 MB / 0.9363 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.8861, allocations: 14.12 kB / 0.9363 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8861, allocations: 0 / 0.9363 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.8872, allocations: 224.1 kB / 0.9366 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.8887, allocations: 299.6 kB / 0.9368 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/0.8956, allocations: 6.814 MB / 0.9435 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.8971, allocations: 151.3 kB / 0.9436 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.8973, allocations: 47.97 kB / 0.9437 GB, free: 14.27 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.001197/0.8985, allocations: 473.5 kB / 0.9441 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/0.8992, allocations: 194.7 kB / 0.9443 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.904, allocations: 2.043 MB / 0.9463 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.904, allocations: 12 kB / 0.9463 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.904, allocations: 4 kB / 0.9463 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.904, allocations: 7.969 kB / 0.9463 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007818/0.9118, allocations: 3.912 MB / 0.9502 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.9118, allocations: 0 / 0.9502 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.9133, allocations: 311.5 kB / 0.9505 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009186/0.9142, allocations: 212.1 kB / 0.9507 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.9143, allocations: 39.97 kB / 0.9507 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.921, allocations: 6.824 MB / 0.9574 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.921, allocations: 3.938 kB / 0.9574 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.9255, allocations: 1.916 MB / 0.9592 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.9267, allocations: 434.1 kB / 0.9596 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/0.9271, allocations: 35.92 kB / 0.9597 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.9285, allocations: 91.91 kB / 0.9598 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.9288, allocations: 113 kB / 0.9599 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.929, allocations: 67.95 kB / 0.9599 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004075/0.9331, allocations: 3.108 MB / 0.963 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9331, allocations: 0 / 0.963 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001892/0.935, allocations: 0.643 MB / 0.9636 GB, free: 9.133 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.006656/0.9416, allocations: 3.091 MB / 0.9666 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00363/0.9453, allocations: 1.922 MB / 0.9685 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9453, allocations: 0.8906 kB / 0.9685 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.9474, allocations: 1.325 MB / 0.9698 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.95, allocations: 0.53 MB / 0.9703 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/0.9839, allocations: 20.53 MB / 0.9904 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.9855, allocations: 1.506 MB / 0.9918 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001977/0.9875, allocations: 0.5244 MB / 0.9923 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.989, allocations: 0.8546 MB / 0.9932 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/0.989, allocations: 3.938 kB / 0.9932 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/1.141, allocations: 48.11 MB / 1.04 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.61, allocations: 16.64 kB / 1.04 GB, free: 10.79 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.489702380029485] Failed to read output from testmodel.py, exit status != 0: 17.859078633831814 17.886140232 17.061906464 Calling exit ...