Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.0009003/0.0009003, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00468/0.00468, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8513/0.8513, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.318e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.1379/0.1379, allocations: 4.182 MB / 302.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1398, allocations: 1.234 MB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.1402, allocations: 16.86 kB / 303.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1404, allocations: 114 kB / 304 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.1408, allocations: 265.2 kB / 304.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.1414, allocations: 309.6 kB / 304.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.1422, allocations: 1.084 MB / 305.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1425, allocations: 178.7 kB / 305.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.1431, allocations: 0.5873 MB / 306.4 MB, free: 12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.1435, allocations: 357.1 kB / 306.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1436, allocations: 89.5 kB / 306.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1438, allocations: 117 kB / 307 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1439, allocations: 196.4 kB / 307.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1442, allocations: 309.7 kB / 307.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000938/0.1451, allocations: 1.047 MB / 308.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1451, allocations: 5.562 kB / 308.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1451, allocations: 0 / 308.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1452, allocations: 0 / 308.5 MB, free: 11.19 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001673/0.1468, allocations: 1.155 MB / 309.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1469, allocations: 15 kB / 309.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.909e-05/0.147, allocations: 101.4 kB / 309.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1471, allocations: 97.81 kB / 309.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.1476, allocations: 404.9 kB / 310.3 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.1477, allocations: 48.95 kB / 310.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.1478, allocations: 61.78 kB / 310.4 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.1487, allocations: 0.7652 MB / 311.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1487, allocations: 0.8438 kB / 311.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.1488, allocations: 29.97 kB / 311.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.1488, allocations: 15.59 kB / 311.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1499, allocations: 0.6741 MB / 311.9 MB, free: 9.332 MB / 282.7 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.002533/0.1524, allocations: 1.835 MB / 313.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.1534, allocations: 0.5549 MB / 314.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.1539, allocations: 307.7 kB / 314.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.1539, allocations: 9.203 kB / 314.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.1547, allocations: 0.5403 MB / 315.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 3.367e-06/0.1547, allocations: 0 / 315.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.03346/0.1881, allocations: 15.24 MB / 330.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.1882, allocations: 141.5 kB / 330.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.1887, allocations: 0.4948 MB / 331 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.1889, allocations: 53.69 kB / 331 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.1891, allocations: 368.8 kB / 331.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.1893, allocations: 329.1 kB / 331.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.1895, allocations: 178.6 kB / 331.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1896, allocations: 382.8 kB / 332.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.1908, allocations: 0.7743 MB / 333 MB, free: 11.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.1922, allocations: 1.056 MB / 334.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.1948, allocations: 1.666 MB / 335.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1948, allocations: 0 / 335.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01196/0.2068, allocations: 5.366 MB / 341.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.2068, allocations: 67.39 kB / 341.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2069, allocations: 12.06 kB / 341.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01676/0.2236, allocations: 6.824 MB / 348 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.224, allocations: 135.8 kB / 348.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.2278, allocations: 3.025 MB / 351.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2288, allocations: 179.8 kB / 351.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/0.2289, allocations: 43.97 kB / 351.4 MB, free: 9.137 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.000368/0.2293, allocations: 219 kB / 351.6 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2294, allocations: 82.97 kB / 351.7 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.2407, allocations: 5.066 MB / 356.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2408, allocations: 8 kB / 356.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2408, allocations: 0 / 356.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.2408, allocations: 7.984 kB / 356.8 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2419, allocations: 0.8386 MB / 357.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.242, allocations: 0 / 357.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.2422, allocations: 95.81 kB / 357.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01595/0.2582, allocations: 6.777 MB / 364.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.2584, allocations: 27.92 kB / 364.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.2619, allocations: 3.04 MB / 367.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2619, allocations: 4.812 kB / 367.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.2745, allocations: 5.941 MB / 373.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.2747, allocations: 67.52 kB / 373.6 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.2748, allocations: 23.98 kB / 373.6 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.2755, allocations: 163.9 kB / 373.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.2757, allocations: 104.8 kB / 373.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.2758, allocations: 35.91 kB / 373.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003011/0.2761, allocations: 334.9 kB / 374.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2761, allocations: 0 / 374.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006232/0.2767, allocations: 252 kB / 374.5 MB, free: 1.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01285/0.2895, allocations: 6.529 MB / 381 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.2929, allocations: 2.011 MB / 383 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2929, allocations: 0 / 383 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.2949, allocations: 1.018 MB / 384 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.2954, allocations: 138.6 kB / 384.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/0.3234, allocations: 15.92 MB / 400.1 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3237, allocations: 352.8 kB / 400.4 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.3239, allocations: 54.08 kB / 400.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.3242, allocations: 264.4 kB / 400.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3242, allocations: 3.938 kB / 400.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.3686, allocations: 26.65 MB / 427.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.775, allocations: 7.953 kB / 427.4 MB, free: 12.43 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0397062 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.33892023563385] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.876825710758567 8.886038291 8.738903973 Calling exit ...