Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.0008026/0.0008026, allocations: 109.3 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.0008579/0.0008579, allocations: 222.2 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.9573/0.9573, allocations: 230.6 MB / 256 MB, free: 9.82 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.7979/0.7979, 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_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.0009225/0.0009225, allocations: 67.69 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.5566, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1507/0.7072, allocations: 158 MB / 0.9722 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.7179, allocations: 10.85 MB / 0.9827 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.7188, allocations: 27.81 kB / 0.9828 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008333/0.7196, allocations: 293.6 kB / 0.9831 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.7217, allocations: 1.006 MB / 0.984 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.7236, allocations: 1.135 MB / 0.9851 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.7252, allocations: 1.752 MB / 0.9869 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.7261, allocations: 0.9476 MB / 0.9878 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.7274, allocations: 0.7697 MB / 0.9885 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.7279, allocations: 0.6418 MB / 0.9892 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.728, allocations: 136 kB / 0.9893 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.7295, allocations: 1.116 MB / 0.9904 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.7297, allocations: 386.8 kB / 0.9907 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.7302, allocations: 0.684 MB / 0.9914 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.7322, allocations: 2.292 MB / 0.9937 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7322, allocations: 0 / 0.9937 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7322, allocations: 0 / 0.9937 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.7322, allocations: 0 / 0.9937 GB, free: 1.453 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002025/0.7343, allocations: 1.742 MB / 0.9954 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7343, allocations: 8.031 kB / 0.9954 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.7345, allocations: 152.1 kB / 0.9955 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.7356, allocations: 326.8 kB / 0.9958 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.7366, allocations: 1.026 MB / 0.9968 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.7366, allocations: 77.94 kB / 0.9969 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.7367, allocations: 92 kB / 0.997 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.738, allocations: 1.106 MB / 0.9981 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.738, allocations: 3.938 kB / 0.9981 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.7381, allocations: 44 kB / 0.9981 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.7381, allocations: 24 kB / 0.9981 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.7395, allocations: 1.315 MB / 0.9994 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.7429, allocations: 3.466 MB / 1.003 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.7441, allocations: 0.9679 MB / 1.004 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.7445, allocations: 397.7 kB / 1.004 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.7447, allocations: 60.92 kB / 1.004 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/0.7454, allocations: 0.6232 MB / 1.005 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=95): time 1.673e-06/0.7454, allocations: 0 / 1.005 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.00228/0.7476, allocations: 1.489 MB / 1.006 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.7477, allocations: 192.9 kB / 1.006 GB, free: 4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.7485, allocations: 1.044 MB / 1.007 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.7486, allocations: 49.7 kB / 1.007 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.749, allocations: 489.1 kB / 1.008 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.7492, allocations: 325.2 kB / 1.008 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7493, allocations: 170.6 kB / 1.008 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.7494, allocations: 337.9 kB / 1.009 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.7498, allocations: 337.8 kB / 1.009 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.7503, allocations: 469.1 kB / 1.01 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.7512, allocations: 0.7688 MB / 1.01 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7512, allocations: 0 / 1.01 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001358/0.7526, allocations: 1.049 MB / 1.011 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7526, allocations: 7.984 kB / 1.011 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7526, allocations: 0 / 1.011 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.753, allocations: 113.7 kB / 1.011 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.7534, allocations: 199.7 kB / 1.012 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.7553, allocations: 2.865 MB / 1.014 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.7557, allocations: 111.5 kB / 1.015 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.7559, allocations: 31.97 kB / 1.015 GB, free: 11.35 MB / 0.7917 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.7562, allocations: 309.5 kB / 1.015 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.7563, allocations: 115.3 kB / 1.015 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.758, allocations: 1.322 MB / 1.016 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.758, allocations: 12 kB / 1.016 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.758, allocations: 0 / 1.016 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.758, allocations: 3.984 kB / 1.016 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.7605, allocations: 2.442 MB / 1.019 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7605, allocations: 0 / 1.019 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.7609, allocations: 187.8 kB / 1.019 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.7612, allocations: 113.5 kB / 1.019 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.7613, allocations: 27.97 kB / 1.019 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.7632, allocations: 2.897 MB / 1.022 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7632, allocations: 0 / 1.022 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.7646, allocations: 1.237 MB / 1.023 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.765, allocations: 254.8 kB / 1.023 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.765, allocations: 24 kB / 1.023 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.7654, allocations: 74.86 kB / 1.023 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7655, allocations: 92.83 kB / 1.023 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.7656, allocations: 43.97 kB / 1.023 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006052/0.7662, allocations: 0.7684 MB / 1.024 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.7662, allocations: 0 / 1.024 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009297/0.7671, allocations: 450.9 kB / 1.025 GB, free: 0.668 MB / 0.7917 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002948/0.7701, allocations: 2.399 MB / 1.027 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.7714, allocations: 1.088 MB / 1.028 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7714, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.7721, allocations: 0.6941 MB / 1.029 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.7732, allocations: 375.3 kB / 1.029 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/0.7817, allocations: 8.434 MB / 1.037 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.7821, allocations: 1.107 MB / 1.038 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006143/0.7828, allocations: 324 kB / 1.039 GB, free: 2.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.7832, allocations: 475.2 kB / 1.039 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.7832, allocations: 0 / 1.039 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.8315, allocations: 29.33 MB / 1.068 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.56/10.39, allocations: 5.781 kB / 1.068 GB, free: 4.637 MB / 0.8386 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.588549640960991] Failed to read output from testmodel.py, exit status != 0: 10.548638044157997 10.559008849 9.82466883 Calling exit ...