Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000789/0.000789, 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.0008213/0.0008213, allocations: 221.8 kB / 22.26 MB, free: 3.707 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.9279/0.9279, allocations: 230.6 MB / 256 MB, free: 9.809 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.7982/0.7982, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.000913/0.000913, allocations: 73.89 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5082, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1638/0.6719, allocations: 172.1 MB / 0.9859 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.6878, allocations: 17.75 MB / 1.003 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.6892, allocations: 39.62 kB / 1.003 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.6905, allocations: 0.5973 MB / 1.004 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.6948, allocations: 1.848 MB / 1.006 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.6975, allocations: 1.494 MB / 1.007 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.6998, allocations: 2.902 MB / 1.01 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.7014, allocations: 1.602 MB / 1.012 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.7039, allocations: 1.519 MB / 1.013 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.7049, allocations: 1.144 MB / 1.014 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.7051, allocations: 224 kB / 1.014 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.7078, allocations: 1.677 MB / 1.016 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.7082, allocations: 0.8061 MB / 1.017 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/0.7092, allocations: 1.279 MB / 1.018 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.7128, allocations: 3.794 MB / 1.022 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7128, allocations: 0 / 1.022 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7128, allocations: 0 / 1.022 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.7128, allocations: 0 / 1.022 GB, free: 4.566 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003039/0.7158, allocations: 2.946 MB / 1.025 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7159, allocations: 8.031 kB / 1.025 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.7161, allocations: 244.9 kB / 1.025 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.7181, allocations: 0.6384 MB / 1.025 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.7211, allocations: 3.37 MB / 1.029 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.7212, allocations: 131.4 kB / 1.029 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7213, allocations: 164 kB / 1.029 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.7235, allocations: 1.94 MB / 1.031 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.7235, allocations: 3.938 kB / 1.031 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7236, allocations: 76 kB / 1.031 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.7236, allocations: 44 kB / 1.031 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.7262, allocations: 2.093 MB / 1.033 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.732, allocations: 6.679 MB / 1.04 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.7344, allocations: 1.708 MB / 1.041 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.7351, allocations: 0.7027 MB / 1.042 GB, free: 15.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.7354, allocations: 125.2 kB / 1.042 GB, free: 15.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.7365, allocations: 1.009 MB / 1.043 GB, free: 14.12 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 2.805e-06/0.7365, allocations: 0 / 1.043 GB, free: 14.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.003817/0.7403, allocations: 2.598 MB / 1.046 GB, free: 11.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.7404, allocations: 197.2 kB / 1.046 GB, free: 11.27 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.7436, allocations: 4.081 MB / 1.05 GB, free: 7.184 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.7437, allocations: 61.69 kB / 1.05 GB, free: 7.117 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/0.7442, allocations: 0.9076 MB / 1.051 GB, free: 6.199 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.7445, allocations: 0.4957 MB / 1.051 GB, free: 5.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.7447, allocations: 238.8 kB / 1.051 GB, free: 5.461 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7448, allocations: 357.9 kB / 1.052 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.7455, allocations: 0.5687 MB / 1.052 GB, free: 4.535 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/0.7463, allocations: 0.7937 MB / 1.053 GB, free: 3.676 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.748, allocations: 1.314 MB / 1.054 GB, free: 2.355 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.748, allocations: 4 kB / 1.054 GB, free: 2.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002206/0.7502, allocations: 1.777 MB / 1.056 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7502, allocations: 11.88 kB / 1.056 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7502, allocations: 4 kB / 1.056 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.7508, allocations: 216.2 kB / 1.056 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.7515, allocations: 319.6 kB / 1.057 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.7555, allocations: 6.806 MB / 1.063 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.7562, allocations: 159.1 kB / 1.063 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.7563, allocations: 55.95 kB / 1.064 GB, free: 8.402 MB / 0.8386 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.0006117/0.7569, allocations: 493.4 kB / 1.064 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.7571, allocations: 198.7 kB / 1.064 GB, free: 7.715 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.7596, allocations: 2.134 MB / 1.066 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.7596, allocations: 16 kB / 1.066 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7596, allocations: 0 / 1.066 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7596, allocations: 7.969 kB / 1.066 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.7642, allocations: 4.095 MB / 1.07 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7642, allocations: 3.938 kB / 1.07 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/0.7649, allocations: 315.6 kB / 1.071 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.7653, allocations: 211.9 kB / 1.071 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.7654, allocations: 39.97 kB / 1.071 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.769, allocations: 6.844 MB / 1.078 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.769, allocations: 3.938 kB / 1.078 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.7712, allocations: 2.01 MB / 1.079 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.7718, allocations: 454 kB / 1.08 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.7719, allocations: 32 kB / 1.08 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.7725, allocations: 99.91 kB / 1.08 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.7727, allocations: 121 kB / 1.08 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.7728, allocations: 71.95 kB / 1.08 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002403/0.7752, allocations: 3.14 MB / 1.083 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.7752, allocations: 3.938 kB / 1.083 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001606/0.7768, allocations: 0.6937 MB / 1.084 GB, free: 2.723 MB / 0.8542 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.003625/0.7804, allocations: 3.196 MB / 1.087 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.7828, allocations: 2.004 MB / 1.089 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7828, allocations: 0.6562 kB / 1.089 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.784, allocations: 1.36 MB / 1.09 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.7853, allocations: 0.5603 MB / 1.091 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.8054, allocations: 20.91 MB / 1.111 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.8063, allocations: 1.537 MB / 1.113 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001198/0.8075, allocations: 0.5174 MB / 1.113 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/0.8084, allocations: 0.917 MB / 1.114 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of SimCode: time 1.413e-06/0.8084, allocations: 3.938 kB / 1.114 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4646/1.273, allocations: 50.49 MB / 1.164 GB, free: 295.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.31, allocations: 5.359 kB / 1.164 GB, free: 295.9 MB / 0.9167 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.395567489089444] Failed to read output from testmodel.py, exit status != 0: 12.478258981835097 12.488105245 11.77313448 Calling exit ...