Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001943/0.001943, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.89 kB / 378.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2404, allocations: 53.41 MB / 431.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005867/0.2462, allocations: 4.405 MB / 436.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.249, allocations: 1.248 MB / 437.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.2495, allocations: 11.94 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.2499, allocations: 126.7 kB / 437.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.2504, allocations: 257.7 kB / 438 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.2513, allocations: 319.5 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2525, allocations: 1.103 MB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.2529, allocations: 183 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.2534, allocations: 430.6 kB / 440 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005939/0.254, allocations: 478 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2541, allocations: 92 kB / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.2544, allocations: 116 kB / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.2546, allocations: 203.2 kB / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.255, allocations: 386.3 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.2563, allocations: 1.043 MB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2563, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2563, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.2563, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002737/0.259, allocations: 1.213 MB / 443.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2591, allocations: 12.03 kB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.096e-05/0.2591, allocations: 17.5 kB / 443.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.2592, allocations: 106.7 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2594, allocations: 96.33 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.2601, allocations: 430.1 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.2601, allocations: 49.67 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2603, allocations: 68.33 kB / 444.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2618, allocations: 0.7838 MB / 445 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2618, allocations: 0 / 445 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.2619, allocations: 31.98 kB / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2619, allocations: 16 kB / 445.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.2636, allocations: 0.6922 MB / 445.8 MB, free: 8.422 MB / 350.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.003866/0.2675, allocations: 1.878 MB / 447.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.269, allocations: 0.5552 MB / 448.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.2697, allocations: 310.6 kB / 448.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.2697, allocations: 4.438 kB / 448.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.2707, allocations: 0.5449 MB / 449.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.424e-06/0.2708, allocations: 0 / 449.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07274/0.3435, allocations: 15.25 MB / 464.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.3436, allocations: 149.5 kB / 464.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.3444, allocations: 0.5186 MB / 465 MB, free: 4.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.3446, allocations: 41.7 kB / 465 MB, free: 4.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.345, allocations: 400.7 kB / 465.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.3454, allocations: 329.2 kB / 465.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/0.3458, allocations: 186.6 kB / 465.9 MB, free: 4.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.346, allocations: 386.7 kB / 466.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.3482, allocations: 0.7746 MB / 467.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.3506, allocations: 1.093 MB / 468.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/0.3549, allocations: 1.697 MB / 469.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.355, allocations: 4 kB / 469.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02423/0.3792, allocations: 5.401 MB / 475.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.741e-05/0.3793, allocations: 59.53 kB / 475.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.3793, allocations: 15.98 kB / 475.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03524/0.4145, allocations: 6.82 MB / 482.2 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.4153, allocations: 151.7 kB / 482.3 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.4217, allocations: 3.017 MB / 485.3 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.4234, allocations: 183.8 kB / 485.5 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.4236, allocations: 51.97 kB / 485.6 MB, free: 12 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * Single equations (assignments): 50 * 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.0004896/0.4241, allocations: 229.7 kB / 485.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4243, allocations: 83.48 kB / 485.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/0.4475, allocations: 5.072 MB / 490.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.4476, allocations: 12 kB / 490.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4476, allocations: 4 kB / 490.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.4476, allocations: 3.984 kB / 490.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4492, allocations: 0.8499 MB / 491.8 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4492, allocations: 0 / 491.8 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.4498, allocations: 99.81 kB / 491.9 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03552/0.4853, allocations: 6.773 MB / 498.7 MB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/0.4856, allocations: 23.97 kB / 498.7 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006328/0.4919, allocations: 3.037 MB / 0.49 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4919, allocations: 0 / 0.49 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/0.5173, allocations: 5.952 MB / 0.4958 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.5176, allocations: 75.42 kB / 0.4959 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/0.5179, allocations: 20 kB / 0.4959 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5194, allocations: 171.8 kB / 0.496 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.5198, allocations: 96.83 kB / 0.4961 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.5199, allocations: 35.97 kB / 0.4962 GB, free: 9.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005715/0.5205, allocations: 354.8 kB / 0.4965 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5205, allocations: 0 / 0.4965 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009804/0.5215, allocations: 259.9 kB / 0.4968 GB, free: 8.719 MB / 414.1 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.02626/0.5477, allocations: 6.532 MB / 0.5031 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.5539, allocations: 2.02 MB / 0.5051 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5539, allocations: 1.375 kB / 0.5051 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.5574, allocations: 1.019 MB / 0.5061 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.5582, allocations: 134.2 kB / 0.5062 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05834/0.6165, allocations: 16.15 MB / 0.522 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.6169, allocations: 357.8 kB / 0.5223 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.6173, allocations: 62.27 kB / 0.5224 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.6177, allocations: 279.3 kB / 0.5227 GB, free: 13.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6177, allocations: 0 / 0.5227 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.8802, allocations: 26.75 MB / 0.5488 GB, free: 106 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.41, allocations: 11.56 kB / 0.5488 GB, free: 106 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.93376096605789] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 15.595765672973357 15.60574386 15.347078714 Calling exit ...