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.001239/0.001239, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009571/0.0009571, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.925/0.925, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.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.7365/0.7365, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.292e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4149/0.4149, allocations: 148.3 MB / 0.7628 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4295, allocations: 16.15 MB / 0.7786 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.4308, allocations: 42.78 kB / 0.7787 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.4322, allocations: 0.5712 MB / 0.7792 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.4359, allocations: 1.887 MB / 0.7811 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.4386, allocations: 1.483 MB / 0.7825 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.4407, allocations: 2.937 MB / 0.7854 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4421, allocations: 1.578 MB / 0.7869 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.4446, allocations: 1.984 MB / 0.7889 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.4454, allocations: 0.9212 MB / 0.7898 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.4456, allocations: 222.5 kB / 0.79 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.4479, allocations: 1.477 MB / 0.7914 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.4484, allocations: 0.8342 MB / 0.7922 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.4489, allocations: 0.8748 MB / 0.7931 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.4517, allocations: 3.929 MB / 0.7969 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4517, allocations: 3.984 kB / 0.7969 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4517, allocations: 0 / 0.7969 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.4517, allocations: 0 / 0.7969 GB, free: 4.527 MB / 0.6511 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.002748/0.4544, allocations: 2.931 MB / 0.7998 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4545, allocations: 11.75 kB / 0.7998 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.4547, allocations: 254.5 kB / 0.8 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4567, allocations: 0.6286 MB / 0.8006 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.4593, allocations: 3.372 MB / 0.8039 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.4594, allocations: 134.8 kB / 0.8041 GB, free: 40 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.4595, allocations: 177.4 kB / 0.8042 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.4618, allocations: 2.691 MB / 0.8069 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4618, allocations: 0 / 0.8069 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.4619, allocations: 78.7 kB / 0.8069 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.462, allocations: 40.12 kB / 0.807 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.4642, allocations: 2.045 MB / 0.809 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.4691, allocations: 4.965 MB / 0.8138 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.4711, allocations: 1.698 MB / 0.8155 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/0.4718, allocations: 0.7016 MB / 0.8162 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.4721, allocations: 113.2 kB / 0.8163 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.4733, allocations: 1.622 MB / 0.8179 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 2.575e-06/0.4733, allocations: 0 / 0.8179 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.003719/0.477, allocations: 2.597 MB / 0.8204 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.4772, allocations: 201.2 kB / 0.8206 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.4804, allocations: 4.081 MB / 0.8246 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.4805, allocations: 61.7 kB / 0.8246 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.4811, allocations: 0.9076 MB / 0.8255 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.4813, allocations: 0.4918 MB / 0.826 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.4816, allocations: 238.8 kB / 0.8262 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4817, allocations: 353.9 kB / 0.8266 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.4824, allocations: 0.5648 MB / 0.8271 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.4833, allocations: 1.231 MB / 0.8283 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.4847, allocations: 1.31 MB / 0.8296 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4847, allocations: 0 / 0.8296 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002195/0.4869, allocations: 1.773 MB / 0.8313 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.487, allocations: 8.094 kB / 0.8313 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.487, allocations: 3.938 kB / 0.8313 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.4875, allocations: 220.1 kB / 0.8316 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.4883, allocations: 331.5 kB / 0.8319 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.4919, allocations: 6.768 MB / 0.8385 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.4926, allocations: 165.8 kB / 0.8386 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.4927, allocations: 47.97 kB / 0.8387 GB, free: 0.5391 MB / 0.6823 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.0006125/0.4933, allocations: 498.3 kB / 0.8392 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4935, allocations: 206.8 kB / 0.8394 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.496, allocations: 2.138 MB / 0.8414 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.496, allocations: 19.98 kB / 0.8415 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.496, allocations: 4 kB / 0.8415 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4961, allocations: 7.969 kB / 0.8415 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.5001, allocations: 3.811 MB / 0.8452 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5001, allocations: 0 / 0.8452 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.5008, allocations: 315.5 kB / 0.8455 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.5012, allocations: 200.1 kB / 0.8457 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.5013, allocations: 43.91 kB / 0.8457 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.5044, allocations: 6.812 MB / 0.8524 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5044, allocations: 0 / 0.8524 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5067, allocations: 2.018 MB / 0.8544 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.5072, allocations: 462 kB / 0.8548 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.5074, allocations: 31.94 kB / 0.8548 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.508, allocations: 113.4 kB / 0.8549 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.5081, allocations: 117.1 kB / 0.855 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.5082, allocations: 67.95 kB / 0.8551 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002134/0.5104, allocations: 3.14 MB / 0.8582 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5104, allocations: 0 / 0.8582 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001391/0.5117, allocations: 0.6937 MB / 0.8589 GB, free: 11.15 MB / 0.7136 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.003809/0.5156, allocations: 3.259 MB / 0.862 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.5177, allocations: 2 MB / 0.864 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5177, allocations: 4.656 kB / 0.864 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.5188, allocations: 1.364 MB / 0.8653 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5201, allocations: 0.559 MB / 0.8659 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.5388, allocations: 20.99 MB / 0.8864 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.5394, allocations: 0.9552 MB / 0.8873 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00113/0.5406, allocations: 0.5252 MB / 0.8878 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/0.5414, allocations: 0.9181 MB / 0.8887 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.5414, allocations: 0 / 0.8887 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/0.6075, allocations: 52.56 MB / 0.94 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.27, allocations: 6.188 kB / 0.94 GB, free: 8.539 MB / 0.7917 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.140085235238075] Failed to read output from testmodel.py, exit status != 0: 10.43587819673121 10.448729506 9.993930978 Calling exit ...