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.006226/0.006226, allocations: 100.6 kB / 21.96 MB, free: 5.207 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.001646/0.001646, allocations: 218 kB / 25.26 MB, free: 3.137 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.305/1.305, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",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.001632/0.001632, allocations: 58.58 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2409, allocations: 49.14 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003069/0.244, allocations: 2.325 MB / 399.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.2449, allocations: 0.6412 MB / 400.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.245, allocations: 3.844 kB / 400.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2452, allocations: 33.83 kB / 400.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2453, allocations: 78.22 kB / 400.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.2456, allocations: 77.36 kB / 400.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.2458, allocations: 281.7 kB / 400.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.246, allocations: 69.94 kB / 400.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2462, allocations: 109.8 kB / 400.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.2463, allocations: 116 kB / 400.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.2464, allocations: 26.34 kB / 400.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.2465, allocations: 40.11 kB / 400.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.2465, allocations: 48.03 kB / 401 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.2466, allocations: 104.4 kB / 401.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.247, allocations: 284.9 kB / 401.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.247, allocations: 0.7031 kB / 401.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.247, allocations: 1.188 kB / 401.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.247, allocations: 0 / 401.3 MB, free: 6.262 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.0007602/0.2477, allocations: 466.6 kB / 401.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2478, allocations: 14.33 kB / 401.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.402e-05/0.2478, allocations: 5.5 kB / 401.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.2479, allocations: 54.52 kB / 401.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.2479, allocations: 25.91 kB / 401.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2482, allocations: 183.4 kB / 402.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2482, allocations: 13.81 kB / 402.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.2483, allocations: 24.5 kB / 402.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2486, allocations: 250.9 kB / 402.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2487, allocations: 0 / 402.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2487, allocations: 10.72 kB / 402.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2487, allocations: 4.969 kB / 402.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.249, allocations: 150.5 kB / 402.5 MB, free: 5.418 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.00118/0.2502, allocations: 0.6625 MB / 403.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2504, allocations: 151 kB / 403.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2506, allocations: 83.06 kB / 403.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2507, allocations: 1.031 kB / 403.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2507, allocations: 36.66 kB / 403.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2507, allocations: 1.125 kB / 403.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00113/0.2518, allocations: 346.2 kB / 403.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.2518, allocations: 53.5 kB / 403.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2519, allocations: 169.4 kB / 404 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.252, allocations: 26.86 kB / 404 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.252, allocations: 151.6 kB / 404.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.252, allocations: 63.19 kB / 404.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.2521, allocations: 38.09 kB / 404.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.2522, allocations: 332.2 kB / 404.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2523, allocations: 51.78 kB / 404.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.2524, allocations: 73.62 kB / 404.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2526, allocations: 123.8 kB / 404.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2526, allocations: 1.344 kB / 404.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003712/0.253, allocations: 219.3 kB / 405.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.253, allocations: 10.58 kB / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.253, allocations: 3.938 kB / 405.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.2544, allocations: 223 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2545, allocations: 31.75 kB / 405.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/0.2549, allocations: 0.6074 MB / 405.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.255, allocations: 20.19 kB / 405.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.255, allocations: 3.5 kB / 406 MB, free: 3.051 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 0.0001005/0.2551, allocations: 138.4 kB / 406.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2552, allocations: 15.84 kB / 406.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.2556, allocations: 223.1 kB / 406.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2556, allocations: 2.156 kB / 406.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2556, allocations: 0 / 406.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2556, allocations: 10.16 kB / 406.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.2563, allocations: 0.5499 MB / 406.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2563, allocations: 1.031 kB / 406.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.2565, allocations: 26.5 kB / 406.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.2575, allocations: 196.2 kB / 407.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2575, allocations: 7.078 kB / 407.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000307/0.2579, allocations: 0.6241 MB / 407.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2579, allocations: 0 / 407.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.2586, allocations: 426 kB / 408.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2586, allocations: 17.83 kB / 408.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2586, allocations: 7.516 kB / 408.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2588, allocations: 6.188 kB / 408.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2588, allocations: 18.45 kB / 408.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2588, allocations: 4.781 kB / 408.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.2589, allocations: 137.1 kB / 408.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2589, allocations: 0 / 408.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.2592, allocations: 55.33 kB / 408.4 MB, free: 1.387 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.0009176/0.2601, allocations: 0.9639 MB / 409.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.2605, allocations: 139.1 kB / 409.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2605, allocations: 1.375 kB / 409.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2607, allocations: 88.27 kB / 409.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.261, allocations: 22.19 kB / 409.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2639, allocations: 2.312 MB / 411.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.264, allocations: 127.9 kB / 412 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.2641, allocations: 14.92 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.2642, allocations: 60.36 kB / 412.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2642, allocations: 0 / 412.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2918, allocations: 4.717 MB / 416.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.74, allocations: 7.359 kB / 416.8 MB, free: 12.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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: 14.936505908030085] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.908167374902405 12.925222032 12.675103782 Calling exit ...