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.0007013/0.0007013, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007615/0.0007615, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9454/0.9454, allocations: 230.6 MB / 256 MB, free: 9.621 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.7614/0.7614, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.000861/0.000861, allocations: 65.72 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4874, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1435/0.6309, allocations: 148.3 MB / 0.9626 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.6474, allocations: 16.2 MB / 0.9785 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.649, allocations: 43.62 kB / 0.9785 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.6507, allocations: 0.5739 MB / 0.9791 GB, free: 8 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.6558, allocations: 1.838 MB / 0.9809 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.659, allocations: 1.471 MB / 0.9823 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.6624, allocations: 2.886 MB / 0.9851 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.6645, allocations: 1.571 MB / 0.9866 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.668, allocations: 1.507 MB / 0.9881 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.6695, allocations: 1.046 MB / 0.9891 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.6698, allocations: 227.9 kB / 0.9894 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.6723, allocations: 1.455 MB / 0.9908 GB, free: 3.996 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.6728, allocations: 0.8216 MB / 0.9916 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.6738, allocations: 1.046 MB / 0.9926 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.6792, allocations: 3.794 MB / 0.9963 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6792, allocations: 4 kB / 0.9963 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6792, allocations: 0 / 0.9963 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.08e-05/0.6793, allocations: 0 / 0.9963 GB, free: 14.31 MB / 0.7761 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.004128/0.6834, allocations: 2.942 MB / 0.9992 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.6834, allocations: 12.02 kB / 0.9992 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.6837, allocations: 248.9 kB / 0.9994 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.6861, allocations: 0.6345 MB / 1 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.69, allocations: 3.37 MB / 1.003 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.6901, allocations: 131.4 kB / 1.003 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.6902, allocations: 164 kB / 1.004 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.6931, allocations: 2.705 MB / 1.006 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.6931, allocations: 3.938 kB / 1.006 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.6932, allocations: 72 kB / 1.006 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.6932, allocations: 40 kB / 1.006 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.6959, allocations: 2.038 MB / 1.008 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007252/0.7031, allocations: 4.952 MB / 1.013 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.7054, allocations: 1.702 MB / 1.015 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.7065, allocations: 0.6988 MB / 1.016 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.7068, allocations: 117.2 kB / 1.016 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.7082, allocations: 1.619 MB / 1.017 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 5.27e-06/0.7082, allocations: 0 / 1.017 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.004219/0.7124, allocations: 2.601 MB / 1.02 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.7125, allocations: 197.2 kB / 1.02 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.7162, allocations: 4.081 MB / 1.024 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.7164, allocations: 61.7 kB / 1.024 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.7171, allocations: 0.9037 MB / 1.025 GB, free: 356 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.7175, allocations: 0.4998 MB / 1.025 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.7177, allocations: 238.8 kB / 1.026 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7179, allocations: 357.9 kB / 1.026 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.7186, allocations: 0.5648 MB / 1.027 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.7196, allocations: 1.227 MB / 1.028 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.7211, allocations: 1.31 MB / 1.029 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7211, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00289/0.724, allocations: 1.773 MB / 1.031 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.724, allocations: 7.938 kB / 1.031 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.724, allocations: 4.094 kB / 1.031 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.7247, allocations: 216 kB / 1.031 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.7255, allocations: 323.6 kB / 1.031 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.7303, allocations: 6.783 MB / 1.038 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7315, allocations: 160.4 kB / 1.038 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.7315, allocations: 56.03 kB / 1.038 GB, free: 2.047 MB / 0.8073 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.0008965/0.7324, allocations: 497.3 kB / 1.039 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.7327, allocations: 198.7 kB / 1.039 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.7353, allocations: 2.138 MB / 1.041 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.7353, allocations: 19.98 kB / 1.041 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7353, allocations: 0 / 1.041 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7353, allocations: 7.969 kB / 1.041 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.7398, allocations: 3.811 MB / 1.045 GB, free: 11.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.7398, allocations: 3.938 kB / 1.045 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.7405, allocations: 323.5 kB / 1.045 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.741, allocations: 204.1 kB / 1.045 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.741, allocations: 43.95 kB / 1.045 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.7446, allocations: 6.813 MB / 1.052 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7446, allocations: 3.938 kB / 1.052 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.7475, allocations: 2.014 MB / 1.054 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008697/0.7483, allocations: 458 kB / 1.054 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.7485, allocations: 28 kB / 1.054 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.7492, allocations: 114.6 kB / 1.054 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7494, allocations: 117.1 kB / 1.054 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7495, allocations: 71.89 kB / 1.054 GB, free: 496 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002491/0.752, allocations: 3.136 MB / 1.058 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.21e-07/0.752, allocations: 0 / 1.058 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001783/0.7538, allocations: 0.7015 MB / 1.058 GB, free: 12.65 MB / 0.8386 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.004487/0.7583, allocations: 3.232 MB / 1.061 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.7609, allocations: 1.992 MB / 1.063 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.7609, allocations: 4.656 kB / 1.063 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.7626, allocations: 1.36 MB / 1.065 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.765, allocations: 0.556 MB / 1.065 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.7892, allocations: 20.9 MB / 1.086 GB, free: 480 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.79, allocations: 0.9515 MB / 1.087 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001468/0.7915, allocations: 0.5213 MB / 1.087 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009561/0.7925, allocations: 0.917 MB / 1.088 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of SimCode: time 2.334e-06/0.7925, allocations: 0 / 1.088 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08189/0.8744, allocations: 52.75 MB / 1.139 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/10.04, allocations: 8.625 kB / 1.139 GB, free: 9.762 MB / 0.9167 GB " [Timeout remaining time 650] (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: 13.36669701570645] Failed to read output from testmodel.py, exit status != 0: 10.213992001954466 10.546346994 9.86388744 Calling exit ...