Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.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.001002/0.001002, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001191/0.001191, allocations: 213.7 kB / 22.25 MB, free: 3.711 MB / 13.93 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 0.9387/0.9387, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7832/0.7832, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",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.001247/0.001247, allocations: 74.17 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5277, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.1633/0.691, allocations: 180.4 MB / 0.994 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.7039, allocations: 11.21 MB / 1.005 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.7052, allocations: 39.69 kB / 1.005 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7065, allocations: 440.6 kB / 1.005 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.7101, allocations: 1.13 MB / 1.006 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.714, allocations: 1.809 MB / 1.008 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.717, allocations: 2.416 MB / 1.011 GB, free: 28 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.7186, allocations: 1.136 MB / 1.012 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.7239, allocations: 1.477 MB / 1.013 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.7256, allocations: 0.8363 MB / 1.014 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.7261, allocations: 160 kB / 1.014 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.7298, allocations: 1.505 MB / 1.016 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007698/0.7306, allocations: 466.5 kB / 1.016 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.7316, allocations: 0.7891 MB / 1.017 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.736, allocations: 2.647 MB / 1.019 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.736, allocations: 0 / 1.019 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.475e-06/0.736, allocations: 0 / 1.019 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.736, allocations: 0 / 1.019 GB, free: 6.98 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002839/0.7389, allocations: 1.895 MB / 1.021 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7389, allocations: 16.02 kB / 1.021 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.7391, allocations: 173.4 kB / 1.021 GB, free: 4.844 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.7406, allocations: 410.6 kB / 1.022 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.7419, allocations: 0.924 MB / 1.023 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.742, allocations: 86.33 kB / 1.023 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.7421, allocations: 116 kB / 1.023 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.7438, allocations: 1.297 MB / 1.024 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7438, allocations: 0 / 1.024 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.7439, allocations: 55.98 kB / 1.024 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.7439, allocations: 35.98 kB / 1.024 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.7455, allocations: 1.441 MB / 1.026 GB, free: 400 kB / 0.7917 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.004815/0.7503, allocations: 4.046 MB / 1.03 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.7518, allocations: 1.083 MB / 1.031 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.7523, allocations: 411.6 kB / 1.031 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.7526, allocations: 121 kB / 1.031 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/0.7534, allocations: 0.6665 MB / 1.032 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/0.7534, allocations: 0 / 1.032 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=106): time 0.002633/0.7561, allocations: 1.535 MB / 1.033 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.7562, allocations: 192.9 kB / 1.034 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.7574, allocations: 0.9074 MB / 1.034 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.7575, allocations: 49.7 kB / 1.034 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.7579, allocations: 0.5363 MB / 1.035 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.7581, allocations: 372.8 kB / 1.035 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.7583, allocations: 194.6 kB / 1.036 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7584, allocations: 345.9 kB / 1.036 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.7589, allocations: 361.7 kB / 1.036 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.7596, allocations: 0.501 MB / 1.037 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.7607, allocations: 0.8407 MB / 1.038 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.7607, allocations: 0 / 1.038 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00202/0.7627, allocations: 1.134 MB / 1.039 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.7628, allocations: 7.984 kB / 1.039 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.7628, allocations: 4 kB / 1.039 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.7631, allocations: 80.88 kB / 1.039 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.7637, allocations: 223.7 kB / 1.039 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.7654, allocations: 1.539 MB / 1.04 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.7661, allocations: 123.2 kB / 1.041 GB, free: 0.6406 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.7661, allocations: 44.03 kB / 1.041 GB, free: 0.5977 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008543/0.767, allocations: 338.6 kB / 1.041 GB, free: 264 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.7672, allocations: 127.2 kB / 1.041 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.7692, allocations: 1.506 MB / 1.043 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7692, allocations: 8 kB / 1.043 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7692, allocations: 7.938 kB / 1.043 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7693, allocations: 11.91 kB / 1.043 GB, free: 14.58 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.003659/0.7729, allocations: 2.755 MB / 1.045 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7729, allocations: 4 kB / 1.045 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.7734, allocations: 195.8 kB / 1.045 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.7737, allocations: 76.97 kB / 1.045 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.7737, allocations: 35.97 kB / 1.046 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.7751, allocations: 1.578 MB / 1.047 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7751, allocations: 4.031 kB / 1.047 GB, free: 9.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.7781, allocations: 1.867 MB / 1.049 GB, free: 7.824 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.7789, allocations: 274.8 kB / 1.049 GB, free: 7.555 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.7791, allocations: 28 kB / 1.049 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.7797, allocations: 71.92 kB / 1.049 GB, free: 7.457 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.7799, allocations: 96.7 kB / 1.049 GB, free: 7.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.78, allocations: 51.97 kB / 1.049 GB, free: 7.312 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008886/0.7809, allocations: 0.6462 MB / 1.05 GB, free: 6.656 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7809, allocations: 0 / 1.05 GB, free: 6.656 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001176/0.7821, allocations: 462.9 kB / 1.05 GB, free: 6.203 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003974/0.7861, allocations: 3.007 MB / 1.053 GB, free: 3.363 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.7878, allocations: 1.022 MB / 1.054 GB, free: 2.332 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.7878, allocations: 4 kB / 1.054 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.7889, allocations: 0.6335 MB / 1.055 GB, free: 1.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.7907, allocations: 0.5348 MB / 1.056 GB, free: 1.176 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.8034, allocations: 8.868 MB / 1.064 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.8041, allocations: 1.17 MB / 1.065 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001148/0.8053, allocations: 377.8 kB / 1.066 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/0.806, allocations: 0.5383 MB / 1.066 GB, free: 6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.215e-06/0.806, allocations: 0 / 1.066 GB, free: 6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06866/0.8747, allocations: 34.37 MB / 1.1 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.505/10.38, allocations: 15.25 kB / 1.1 GB, free: 3.867 MB / 0.8698 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.698974282946438] Failed to read output from testmodel.py, exit status != 0: 10.541009810985997 10.551577308 9.812678519 Calling exit ...