Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00128/0.00128, allocations: 110.6 kB / 18.94 MB, free: 2.953 MB / 14.72 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.001454/0.001454, allocations: 210.6 kB / 22.25 MB, free: 5.137 MB / 14.72 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 1.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8369/0.8369, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_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.002002/0.002002, allocations: 70.16 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5874/0.7644, allocations: 170.6 MB / 0.869 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.7889, allocations: 17.51 MB / 0.8862 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.7906, allocations: 43.62 kB / 0.8862 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.7924, allocations: 0.5586 MB / 0.8867 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.7978, allocations: 1.707 MB / 0.8884 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.8017, allocations: 1.451 MB / 0.8898 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00423/0.8059, allocations: 2.588 MB / 0.8923 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.8089, allocations: 1.628 MB / 0.8939 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005043/0.8139, allocations: 1.447 MB / 0.8954 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.8157, allocations: 1.074 MB / 0.8964 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.8162, allocations: 212 kB / 0.8966 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.8199, allocations: 1.653 MB / 0.8982 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.8207, allocations: 0.7983 MB / 0.899 GB, free: 13.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.8221, allocations: 1.197 MB / 0.9002 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.8275, allocations: 3.621 MB / 0.9037 GB, free: 8.477 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8275, allocations: 4 kB / 0.9037 GB, free: 8.473 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8276, allocations: 0 / 0.9037 GB, free: 8.473 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.683e-05/0.8276, allocations: 0 / 0.9037 GB, free: 8.473 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005157/0.8328, allocations: 2.846 MB / 0.9065 GB, free: 5.578 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8328, allocations: 12.02 kB / 0.9065 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002936/0.8331, allocations: 240.6 kB / 0.9067 GB, free: 5.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.8374, allocations: 0.6267 MB / 0.9073 GB, free: 4.691 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.842, allocations: 3.35 MB / 0.9106 GB, free: 1.305 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.8421, allocations: 127.3 kB / 0.9107 GB, free: 1.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.8424, allocations: 163.9 kB / 0.9109 GB, free: 1.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/0.8458, allocations: 1.892 MB / 0.9127 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.8458, allocations: 0 / 0.9127 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.846, allocations: 68 kB / 0.9128 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.846, allocations: 40 kB / 0.9128 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/0.8496, allocations: 2.069 MB / 0.9149 GB, free: 12.89 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.8601, allocations: 6.13 MB / 0.9208 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.8633, allocations: 1.65 MB / 0.9225 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.8645, allocations: 0.6866 MB / 0.9231 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/0.865, allocations: 129.2 kB / 0.9232 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.8668, allocations: 0.9426 MB / 0.9242 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.625e-06/0.8668, allocations: 0 / 0.9242 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006742/0.8735, allocations: 2.508 MB / 0.9266 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.8736, allocations: 201.2 kB / 0.9268 GB, free: 316 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.8789, allocations: 4.081 MB / 0.9308 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003699/0.8793, allocations: 57.7 kB / 0.9309 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009284/0.8802, allocations: 0.8919 MB / 0.9317 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.8808, allocations: 479.7 kB / 0.9322 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.8812, allocations: 226.8 kB / 0.9324 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.8814, allocations: 353.9 kB / 0.9327 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.8825, allocations: 0.553 MB / 0.9333 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.8838, allocations: 0.7735 MB / 0.934 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.8862, allocations: 1.278 MB / 0.9353 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8862, allocations: 7.938 kB / 0.9353 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004113/0.8903, allocations: 1.722 MB / 0.937 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8904, allocations: 4 kB / 0.937 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8904, allocations: 4 kB / 0.937 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.8915, allocations: 216.1 kB / 0.9372 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.893, allocations: 311.6 kB / 0.9375 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.8996, allocations: 6.822 MB / 0.9441 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.9012, allocations: 157.7 kB / 0.9443 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.9013, allocations: 52.03 kB / 0.9443 GB, free: 13.64 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.001004/0.9024, allocations: 475.7 kB / 0.9448 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/0.9029, allocations: 194.7 kB / 0.945 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/0.9074, allocations: 2.055 MB / 0.947 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.9074, allocations: 16 kB / 0.947 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9074, allocations: 4 kB / 0.947 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.9075, allocations: 7.969 kB / 0.947 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/0.9149, allocations: 3.948 MB / 0.9509 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.915, allocations: 0 / 0.9509 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.9165, allocations: 319.6 kB / 0.9512 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/0.9174, allocations: 204 kB / 0.9514 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.9175, allocations: 39.97 kB / 0.9514 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/0.9237, allocations: 6.843 MB / 0.9581 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9237, allocations: 3.984 kB / 0.9581 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.928, allocations: 1.939 MB / 0.96 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.9291, allocations: 434.1 kB / 0.9604 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.9293, allocations: 28 kB / 0.9604 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.9305, allocations: 96.78 kB / 0.9605 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.9308, allocations: 117.1 kB / 0.9606 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.9309, allocations: 63.95 kB / 0.9607 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003575/0.9345, allocations: 3.132 MB / 0.9638 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9345, allocations: 0 / 0.9638 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002044/0.9365, allocations: 0.6546 MB / 0.9644 GB, free: 8.371 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006683/0.9432, allocations: 3.128 MB / 0.9674 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.947, allocations: 1.949 MB / 0.9693 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.947, allocations: 0.8906 kB / 0.9693 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.9494, allocations: 1.332 MB / 0.9706 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.952, allocations: 0.5164 MB / 0.9712 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/0.9857, allocations: 20.89 MB / 0.9916 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.987, allocations: 1.517 MB / 0.993 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001755/0.9887, allocations: 0.5283 MB / 0.9935 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.99, allocations: 0.8819 MB / 0.9944 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/0.99, allocations: 0 / 0.9944 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.11, allocations: 48.75 MB / 1.042 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.41, allocations: 7.234 kB / 1.042 GB, free: 8.941 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.309533988998737] Failed to read output from testmodel.py, exit status != 0: 17.659998985996936 17.675883088 16.845084471 Calling exit ...