Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.001135/0.001135, 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.001328/0.001328, 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.9339/0.9339, allocations: 230.6 MB / 256 MB, free: 9.598 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.7812/0.7812, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.0009563/0.0009563, allocations: 70.8 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5473, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.147/0.6944, allocations: 148.4 MB / 0.9627 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.7099, allocations: 16.23 MB / 0.9785 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.7113, allocations: 43.62 kB / 0.9786 GB, free: 500 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.7128, allocations: 0.5622 MB / 0.9791 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.7169, allocations: 1.845 MB / 0.9809 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.7199, allocations: 1.479 MB / 0.9824 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.7231, allocations: 2.898 MB / 0.9852 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.7251, allocations: 1.571 MB / 0.9867 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.7281, allocations: 1.532 MB / 0.9882 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.7296, allocations: 1.05 MB / 0.9892 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004192/0.73, allocations: 224 kB / 0.9895 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.7324, allocations: 1.462 MB / 0.9909 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000561/0.733, allocations: 0.8177 MB / 0.9917 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.7342, allocations: 1.05 MB / 0.9927 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004761/0.739, allocations: 3.81 MB / 0.9964 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.739, allocations: 0 / 0.9964 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.605e-06/0.739, allocations: 0 / 0.9964 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000113/0.7391, allocations: 0 / 0.9964 GB, free: 14.15 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004723/0.7438, allocations: 2.968 MB / 0.9993 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.7439, allocations: 12.03 kB / 0.9993 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.7441, allocations: 244.9 kB / 0.9996 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.7465, allocations: 0.6306 MB / 1 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.7499, allocations: 3.374 MB / 1.003 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/0.7499, allocations: 139.3 kB / 1.004 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.7501, allocations: 172 kB / 1.004 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.7528, allocations: 2.715 MB / 1.006 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7528, allocations: 3.938 kB / 1.006 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.7529, allocations: 76 kB / 1.007 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.7529, allocations: 40 kB / 1.007 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.7553, allocations: 2.062 MB / 1.009 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.7624, allocations: 5.128 MB / 1.014 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.7647, allocations: 1.729 MB / 1.015 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/0.7655, allocations: 0.7144 MB / 1.016 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.7658, allocations: 117.2 kB / 1.016 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.7673, allocations: 1.619 MB / 1.018 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 3.356e-06/0.7673, allocations: 4 kB / 1.018 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.004365/0.7716, allocations: 2.629 MB / 1.02 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.7717, allocations: 209.2 kB / 1.02 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.7752, allocations: 4.098 MB / 1.024 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.7754, allocations: 57.7 kB / 1.024 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.776, allocations: 0.9195 MB / 1.025 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.7765, allocations: 0.4957 MB / 1.026 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.7767, allocations: 238.8 kB / 1.026 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7768, allocations: 357.7 kB / 1.026 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.7776, allocations: 0.5882 MB / 1.027 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.7786, allocations: 1.235 MB / 1.028 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.7802, allocations: 1.337 MB / 1.03 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7802, allocations: 0 / 1.03 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002699/0.7829, allocations: 1.808 MB / 1.031 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.7829, allocations: 11.94 kB / 1.031 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7829, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.7835, allocations: 212.2 kB / 1.031 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.7844, allocations: 331.5 kB / 1.032 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.7884, allocations: 6.795 MB / 1.038 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.7896, allocations: 165.3 kB / 1.039 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.7896, allocations: 51.97 kB / 1.039 GB, free: 1.418 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 (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.0009029/0.7905, allocations: 497.4 kB / 1.039 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.7908, allocations: 202.7 kB / 1.039 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.7937, allocations: 2.158 MB / 1.041 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7937, allocations: 16 kB / 1.041 GB, free: 14.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7937, allocations: 4 kB / 1.041 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7938, allocations: 7.969 kB / 1.041 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/0.7987, allocations: 3.84 MB / 1.045 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.7987, allocations: 0 / 1.045 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.7995, allocations: 319.5 kB / 1.046 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/0.8, allocations: 200.1 kB / 1.046 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.8, allocations: 47.97 kB / 1.046 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.8037, allocations: 6.82 MB / 1.052 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8037, allocations: 0 / 1.052 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.8065, allocations: 2.041 MB / 1.054 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.8073, allocations: 458 kB / 1.055 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.8074, allocations: 31.98 kB / 1.055 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.8081, allocations: 108.9 kB / 1.055 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.8083, allocations: 117 kB / 1.055 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.8084, allocations: 75.94 kB / 1.055 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002428/0.8108, allocations: 3.148 MB / 1.058 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8108, allocations: 0 / 1.058 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001535/0.8124, allocations: 0.6937 MB / 1.059 GB, free: 11.95 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.004354/0.8167, allocations: 3.258 MB / 1.062 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.8197, allocations: 2.027 MB / 1.064 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.8197, allocations: 0.8906 kB / 1.064 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.8212, allocations: 1.379 MB / 1.065 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.823, allocations: 0.5592 MB / 1.066 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.8485, allocations: 21.16 MB / 1.087 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/0.8494, allocations: 0.9618 MB / 1.088 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001534/0.851, allocations: 0.5252 MB / 1.088 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009828/0.852, allocations: 0.9053 MB / 1.089 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of SimCode: time 2.504e-06/0.852, allocations: 0 / 1.089 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/0.9357, allocations: 53.17 MB / 1.141 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.372/10.31, allocations: 9.703 kB / 1.141 GB, free: 8.289 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions_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_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.7936080256477] Failed to read output from testmodel.py, exit status != 0: 10.477087256964296 10.773004334 10.031615023 Calling exit ...