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.001211/0.001211, allocations: 101.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.001545/0.001545, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9504/0.9504, allocations: 230.6 MB / 256 MB, free: 9.59 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.7582/0.7582, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0009604/0.0009604, allocations: 71.36 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5145, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1428/0.6573, allocations: 148.3 MB / 0.9626 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.6741, allocations: 16.2 MB / 0.9785 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.6755, allocations: 43.62 kB / 0.9785 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.6769, allocations: 0.5584 MB / 0.9791 GB, free: 20 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.6806, allocations: 1.849 MB / 0.9809 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.6833, allocations: 1.467 MB / 0.9823 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.6863, allocations: 2.882 MB / 0.9851 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.6884, allocations: 1.571 MB / 0.9866 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.6914, allocations: 1.521 MB / 0.9881 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.6935, allocations: 1.047 MB / 0.9892 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/0.6941, allocations: 220 kB / 0.9894 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.6969, allocations: 1.458 MB / 0.9908 GB, free: 3.996 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008402/0.6977, allocations: 0.8178 MB / 0.9916 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.6989, allocations: 1.046 MB / 0.9926 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.7042, allocations: 3.794 MB / 0.9963 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.7043, allocations: 4 kB / 0.9963 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.597e-06/0.7043, allocations: 0 / 0.9963 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001193/0.7044, 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.005098/0.7095, allocations: 2.946 MB / 0.9992 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.7095, allocations: 8.031 kB / 0.9992 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002573/0.7098, allocations: 244.9 kB / 0.9994 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.7126, allocations: 0.6384 MB / 1 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/0.7164, allocations: 3.374 MB / 1.003 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.7165, allocations: 127.4 kB / 1.003 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.7167, allocations: 168 kB / 1.004 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.7196, allocations: 2.699 MB / 1.006 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.7197, allocations: 7.938 kB / 1.006 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.7198, allocations: 72 kB / 1.006 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.7198, allocations: 40 kB / 1.006 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.7223, allocations: 2.038 MB / 1.008 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006814/0.7291, allocations: 4.952 MB / 1.013 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.7313, allocations: 1.694 MB / 1.015 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/0.7321, allocations: 0.7027 MB / 1.016 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.7323, allocations: 117.2 kB / 1.016 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.7337, allocations: 1.615 MB / 1.017 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 3.677e-06/0.7337, allocations: 0 / 1.017 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.004253/0.7379, allocations: 2.601 MB / 1.02 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.738, allocations: 205.2 kB / 1.02 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.7415, allocations: 4.085 MB / 1.024 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.7418, allocations: 53.7 kB / 1.024 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.7424, allocations: 0.9115 MB / 1.025 GB, free: 356 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.7429, allocations: 0.492 MB / 1.025 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.7431, allocations: 238.8 kB / 1.026 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.7434, allocations: 357.7 kB / 1.026 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.7441, allocations: 0.5725 MB / 1.027 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.745, allocations: 1.227 MB / 1.028 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.7466, allocations: 1.314 MB / 1.029 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.7466, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002697/0.7493, allocations: 1.773 MB / 1.031 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7493, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7493, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.7499, allocations: 208.2 kB / 1.031 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.7507, allocations: 331.5 kB / 1.031 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.755, allocations: 6.775 MB / 1.038 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7562, allocations: 163.2 kB / 1.038 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.7563, allocations: 47.97 kB / 1.038 GB, free: 2.059 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.000893/0.7572, allocations: 0.4934 MB / 1.039 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.7576, allocations: 198.7 kB / 1.039 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.7604, allocations: 2.13 MB / 1.041 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.7604, allocations: 20 kB / 1.041 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7604, allocations: 4 kB / 1.041 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7604, allocations: 7.969 kB / 1.041 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.7651, allocations: 3.819 MB / 1.045 GB, free: 11.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7651, allocations: 0 / 1.045 GB, free: 11.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/0.7659, allocations: 311.6 kB / 1.045 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.7663, allocations: 212.1 kB / 1.045 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-05/0.7664, allocations: 39.97 kB / 1.045 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/0.7706, allocations: 6.816 MB / 1.052 GB, free: 3.312 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7706, allocations: 4.031 kB / 1.052 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.7745, allocations: 2.01 MB / 1.054 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7758, allocations: 454 kB / 1.054 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.7761, allocations: 32 kB / 1.054 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.7769, allocations: 112.5 kB / 1.054 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.7772, allocations: 129 kB / 1.054 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7773, allocations: 75.89 kB / 1.055 GB, free: 496 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002676/0.78, allocations: 3.132 MB / 1.058 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/0.78, allocations: 0 / 1.058 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002099/0.7821, allocations: 0.6937 MB / 1.058 GB, free: 12.66 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.004769/0.7869, allocations: 3.233 MB / 1.061 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.7894, allocations: 2.004 MB / 1.063 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.7894, allocations: 0.6562 kB / 1.063 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.7908, allocations: 1.36 MB / 1.065 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7927, allocations: 0.5513 MB / 1.065 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/0.8157, allocations: 20.9 MB / 1.086 GB, free: 484 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.8165, allocations: 0.9535 MB / 1.087 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001369/0.8178, allocations: 0.533 MB / 1.087 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/0.8187, allocations: 0.9131 MB / 1.088 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/0.8187, allocations: 0 / 1.088 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07617/0.8949, allocations: 52.73 MB / 1.139 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.324/10.22, allocations: 10 kB / 1.139 GB, free: 9.754 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 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.596179631073028] Failed to read output from testmodel.py, exit status != 0: 10.384882664773613 10.730422922 10.024043519 Calling exit ...