Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.00107/0.00107, 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.000956/0.000956, allocations: 213.8 kB / 22.25 MB, free: 3.703 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.9788/0.9788, allocations: 230.6 MB / 256 MB, free: 9.828 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.811/0.811, 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_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.001112/0.001112, allocations: 70.8 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5656, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1594/0.725, allocations: 172.1 MB / 0.986 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.7427, allocations: 17.76 MB / 1.003 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.7443, allocations: 47.56 kB / 1.003 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.7459, allocations: 0.6011 MB / 1.004 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.7507, allocations: 1.864 MB / 1.006 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.7539, allocations: 1.499 MB / 1.007 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004077/0.758, allocations: 2.922 MB / 1.01 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.7604, allocations: 1.606 MB / 1.012 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.7639, allocations: 1.511 MB / 1.013 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.7656, allocations: 1.159 MB / 1.014 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.766, allocations: 228 kB / 1.014 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.7688, allocations: 1.673 MB / 1.016 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.7694, allocations: 0.8217 MB / 1.017 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.7708, allocations: 1.286 MB / 1.018 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.7759, allocations: 3.817 MB / 1.022 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.7759, allocations: 0 / 1.022 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7759, allocations: 0 / 1.022 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.201e-05/0.776, allocations: 0 / 1.022 GB, free: 4.449 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004673/0.7807, allocations: 2.976 MB / 1.025 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.7807, allocations: 12.02 kB / 1.025 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.7809, allocations: 252.9 kB / 1.025 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.7832, allocations: 0.6344 MB / 1.026 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.7865, allocations: 3.382 MB / 1.029 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.7866, allocations: 131.4 kB / 1.029 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.7868, allocations: 164 kB / 1.029 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.7891, allocations: 1.965 MB / 1.031 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.7891, allocations: 3.938 kB / 1.031 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7892, allocations: 72 kB / 1.031 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.7892, allocations: 40 kB / 1.031 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.7916, allocations: 2.12 MB / 1.033 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009251/0.8008, allocations: 6.855 MB / 1.04 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.8033, allocations: 1.744 MB / 1.042 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.8042, allocations: 0.7107 MB / 1.042 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.8045, allocations: 133.2 kB / 1.043 GB, free: 14.72 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.8057, allocations: 1.024 MB / 1.044 GB, free: 13.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 4.448e-06/0.8057, allocations: 0 / 1.044 GB, free: 13.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.004327/0.81, allocations: 2.636 MB / 1.046 GB, free: 11.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.8101, allocations: 201.2 kB / 1.046 GB, free: 10.78 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.8141, allocations: 4.119 MB / 1.05 GB, free: 6.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.8144, allocations: 57.7 kB / 1.05 GB, free: 6.598 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.8151, allocations: 0.9195 MB / 1.051 GB, free: 5.668 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.8154, allocations: 0.4919 MB / 1.052 GB, free: 5.172 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.8157, allocations: 242.8 kB / 1.052 GB, free: 4.926 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8158, allocations: 353.9 kB / 1.052 GB, free: 4.574 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/0.8166, allocations: 0.5843 MB / 1.053 GB, free: 3.992 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008795/0.8174, allocations: 0.8086 MB / 1.054 GB, free: 3.117 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.8189, allocations: 1.329 MB / 1.055 GB, free: 1.781 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.819, allocations: 4 kB / 1.055 GB, free: 1.777 MB / 0.823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002749/0.8217, allocations: 1.819 MB / 1.057 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.8217, allocations: 4 kB / 1.057 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8217, allocations: 0 / 1.057 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.8223, allocations: 208.1 kB / 1.057 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/0.8231, allocations: 331.5 kB / 1.057 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.827, allocations: 6.807 MB / 1.064 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.8282, allocations: 177.8 kB / 1.064 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.8283, allocations: 51.97 kB / 1.064 GB, free: 7.773 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 (145): * Single equations (assignments): 140 * 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.0008905/0.8292, allocations: 493.3 kB / 1.065 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.8295, allocations: 206.7 kB / 1.065 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.8322, allocations: 2.158 MB / 1.067 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.8322, allocations: 16 kB / 1.067 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8323, allocations: 0 / 1.067 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.8323, allocations: 7.969 kB / 1.067 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/0.8375, allocations: 4.144 MB / 1.071 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.8375, allocations: 4 kB / 1.071 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.8383, allocations: 319.5 kB / 1.071 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.8387, allocations: 196.1 kB / 1.072 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.8388, allocations: 43.95 kB / 1.072 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.8426, allocations: 6.852 MB / 1.078 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8426, allocations: 0 / 1.078 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.8456, allocations: 2.033 MB / 1.08 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.8464, allocations: 458 kB / 1.081 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.8467, allocations: 28 kB / 1.081 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.8474, allocations: 113.8 kB / 1.081 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.8476, allocations: 117.1 kB / 1.081 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8477, allocations: 71.94 kB / 1.081 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002495/0.8502, allocations: 3.165 MB / 1.084 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8502, allocations: 3.938 kB / 1.084 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00155/0.8517, allocations: 0.6976 MB / 1.085 GB, free: 1.961 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.003918/0.8556, allocations: 3.225 MB / 1.088 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.858, allocations: 2.023 MB / 1.09 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.858, allocations: 4.641 kB / 1.09 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.8593, allocations: 1.371 MB / 1.091 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.8609, allocations: 0.5632 MB / 1.092 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.8824, allocations: 21.25 MB / 1.113 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/0.8833, allocations: 1.557 MB / 1.114 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001377/0.8847, allocations: 0.533 MB / 1.115 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009799/0.8857, allocations: 0.9054 MB / 1.115 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of SimCode: time 1.953e-06/0.8857, allocations: 0 / 1.115 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.432/1.318, allocations: 51.13 MB / 1.165 GB, free: 295.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.18, allocations: 4.891 kB / 1.165 GB, free: 295.9 MB / 0.9167 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.386138482019305] Failed to read output from testmodel.py, exit status != 0: 12.344357348047197 12.35688236 11.578983573 Calling exit ...