Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001822/0.001822, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002166/0.002166, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001993/0.001993, allocations: 51.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2477, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003829/0.2516, allocations: 2.333 MB / 398.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2527, allocations: 0.6436 MB / 399.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2528, allocations: 2.375 kB / 399.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.253, allocations: 39.23 kB / 399.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.2531, allocations: 68.77 kB / 399.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2534, allocations: 82.14 kB / 399.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.2537, allocations: 282 kB / 399.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2539, allocations: 65.61 kB / 399.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.2541, allocations: 114.1 kB / 400 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2542, allocations: 100.1 kB / 400.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.2543, allocations: 26.56 kB / 400.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2544, allocations: 36.17 kB / 400.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.2544, allocations: 47.66 kB / 400.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2545, allocations: 99.91 kB / 400.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.255, allocations: 288.8 kB / 400.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.255, allocations: 1.094 kB / 400.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.255, allocations: 0.75 kB / 400.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.255, allocations: 0 / 400.5 MB, free: 6.273 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007799/0.2557, allocations: 462.7 kB / 401 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2558, allocations: 13.39 kB / 401 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.2558, allocations: 62.66 kB / 401.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.2559, allocations: 26.11 kB / 401.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.2562, allocations: 184.3 kB / 401.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2562, allocations: 13.06 kB / 401.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.2562, allocations: 24.92 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.2566, allocations: 238.5 kB / 401.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2566, allocations: 0 / 401.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2566, allocations: 14.47 kB / 401.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2566, allocations: 4.625 kB / 401.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2569, allocations: 162.6 kB / 401.7 MB, free: 5.422 MB / 318.1 MB 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.001139/0.2581, allocations: 0.6534 MB / 402.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.2583, allocations: 138.6 kB / 402.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.2585, allocations: 91.62 kB / 402.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2586, allocations: 2.031 kB / 402.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2586, allocations: 37.12 kB / 402.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2586, allocations: 0 / 402.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001146/0.2597, allocations: 341.4 kB / 403 MB, free: 4.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.2597, allocations: 54.11 kB / 403 MB, free: 4.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2599, allocations: 174.4 kB / 403.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2599, allocations: 31.14 kB / 403.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.26, allocations: 146.9 kB / 403.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.26, allocations: 64.36 kB / 403.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.2601, allocations: 37.11 kB / 403.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.2602, allocations: 336 kB / 403.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2603, allocations: 47.33 kB / 403.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2604, allocations: 70.47 kB / 403.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.2606, allocations: 124.1 kB / 404 MB, free: 3.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2606, allocations: 7.938 kB / 404 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003698/0.261, allocations: 220.5 kB / 404.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.261, allocations: 13.69 kB / 404.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.261, allocations: 1.125 kB / 404.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.2623, allocations: 211.9 kB / 404.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2624, allocations: 38.45 kB / 404.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003633/0.2628, allocations: 0.6089 MB / 405.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2629, allocations: 11.23 kB / 405.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2629, allocations: 9.062 kB / 405.1 MB, free: 3.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.263, allocations: 132.8 kB / 405.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.263, allocations: 16.08 kB / 405.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.2635, allocations: 226.7 kB / 405.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2635, allocations: 5.75 kB / 405.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2635, allocations: 0 / 405.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2635, allocations: 3.016 kB / 405.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.2643, allocations: 0.5415 MB / 406.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2643, allocations: 1.281 kB / 406.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.2644, allocations: 30.19 kB / 406.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.2655, allocations: 201.3 kB / 406.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2655, allocations: 5.734 kB / 406.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003262/0.2658, allocations: 0.6206 MB / 406.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2658, allocations: 5.844 kB / 406.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.2665, allocations: 419.9 kB / 407.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2666, allocations: 26.19 kB / 407.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.2666, allocations: 3.359 kB / 407.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2667, allocations: 10.12 kB / 407.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.2668, allocations: 19.44 kB / 407.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2668, allocations: 4.875 kB / 407.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.306e-05/0.2669, allocations: 131.8 kB / 407.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2669, allocations: 4.031 kB / 407.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000312/0.2672, allocations: 59.83 kB / 407.6 MB, free: 1.406 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009285/0.2681, allocations: 0.9643 MB / 408.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.2685, allocations: 138.4 kB / 408.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2685, allocations: 1.375 kB / 408.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2687, allocations: 88.78 kB / 408.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.269, allocations: 26.47 kB / 408.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.2719, allocations: 2.297 MB / 411.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.272, allocations: 128.2 kB / 411.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.2721, allocations: 14.44 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.2722, allocations: 59.3 kB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2722, allocations: 1.125 kB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3064, allocations: 5.021 MB / 416.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.79, allocations: 14.14 kB / 416.3 MB, free: 12.1 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.159990202169865] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.915974039118737 12.931207336 12.673262267 Calling exit ...