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.001464/0.001464, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001539/0.001539, allocations: 210.2 kB / 23.73 MB, free: 4.406 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.402/1.402, allocations: 230.5 MB / 257.4 MB, free: 7.77 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 377.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2725, allocations: 53.42 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005936/0.2785, allocations: 4.418 MB / 435.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2807, allocations: 1.237 MB / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.281, allocations: 15.94 kB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.2813, allocations: 126.7 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.2818, allocations: 261.7 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.2825, allocations: 315.5 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.2836, allocations: 1.099 MB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.284, allocations: 175 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.2845, allocations: 430.5 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.2851, allocations: 422.1 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.2852, allocations: 88 kB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.2854, allocations: 116 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.2856, allocations: 199.3 kB / 440 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.2861, allocations: 390.2 kB / 440.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.2872, allocations: 1.047 MB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2872, allocations: 0 / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2872, allocations: 0 / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2872, allocations: 0 / 441.5 MB, free: 12.12 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.002637/0.2898, allocations: 1.209 MB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2899, allocations: 11.98 kB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.29, allocations: 102.7 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.2902, allocations: 104.3 kB / 442.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.291, allocations: 430.1 kB / 443.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.291, allocations: 49.69 kB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2911, allocations: 64.33 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2926, allocations: 0.7879 MB / 444.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2926, allocations: 4 kB / 444.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.2927, allocations: 24 kB / 444.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.2927, allocations: 16 kB / 444.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.2944, allocations: 0.6922 MB / 444.9 MB, free: 8.516 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.003893/0.2983, allocations: 1.878 MB / 446.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2997, allocations: 0.5591 MB / 447.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.3005, allocations: 314.8 kB / 447.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.3005, allocations: 8.438 kB / 447.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3016, allocations: 0.5409 MB / 448.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.605e-06/0.3016, allocations: 4 kB / 448.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.068/0.3696, allocations: 15.23 MB / 463.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.3697, allocations: 141.5 kB / 463.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.3704, allocations: 0.5341 MB / 464.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.3706, allocations: 45.7 kB / 464.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.3709, allocations: 400.7 kB / 464.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.3713, allocations: 333.2 kB / 464.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.3716, allocations: 186.5 kB / 465.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3719, allocations: 394.7 kB / 465.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.374, allocations: 0.7746 MB / 466.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.3763, allocations: 1.093 MB / 467.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/0.3805, allocations: 1.689 MB / 469 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3805, allocations: 4 kB / 469 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02301/0.4036, allocations: 5.393 MB / 474.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.4036, allocations: 67.41 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4037, allocations: 8.125 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03389/0.4376, allocations: 6.824 MB / 481.3 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.4383, allocations: 151.7 kB / 481.5 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.4445, allocations: 3.024 MB / 484.5 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4461, allocations: 179.8 kB / 484.7 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4462, allocations: 59.84 kB / 484.7 MB, free: 88 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.0004252/0.4467, allocations: 225.7 kB / 484.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.4468, allocations: 87.48 kB / 485 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/0.4689, allocations: 5.064 MB / 490.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.4689, allocations: 8 kB / 490.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.4689, allocations: 4.25 kB / 490.1 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.4689, allocations: 7.984 kB / 490.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.4703, allocations: 0.8538 MB / 491 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4704, allocations: 0 / 491 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.4709, allocations: 95.81 kB / 491.1 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03331/0.5042, allocations: 6.773 MB / 497.8 MB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.5044, allocations: 27.97 kB / 497.9 MB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/0.5105, allocations: 3.033 MB / 0.4892 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5105, allocations: 0 / 0.4892 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/0.5349, allocations: 5.952 MB / 0.495 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.5351, allocations: 75.44 kB / 0.495 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.5352, allocations: 20 kB / 0.4951 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.5366, allocations: 175.8 kB / 0.4952 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.5369, allocations: 96.83 kB / 0.4953 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.5369, allocations: 31.97 kB / 0.4953 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.5374, allocations: 350.9 kB / 0.4957 GB, free: 9.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5374, allocations: 3.938 kB / 0.4957 GB, free: 9.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000783/0.5382, allocations: 271.9 kB / 0.4959 GB, free: 8.785 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.02481/0.563, allocations: 6.532 MB / 0.5023 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.5691, allocations: 2.012 MB / 0.5043 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5691, allocations: 0 / 0.5043 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/0.5726, allocations: 1.012 MB / 0.5053 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.5734, allocations: 141.2 kB / 0.5054 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05496/0.6283, allocations: 16.15 MB / 0.5212 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.6287, allocations: 357.8 kB / 0.5215 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.6291, allocations: 58.27 kB / 0.5216 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.6294, allocations: 275.3 kB / 0.5218 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6294, allocations: 0 / 0.5218 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.8878, allocations: 27.07 MB / 0.5483 GB, free: 105.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.38, allocations: 4.625 kB / 0.5483 GB, free: 105.4 MB / 446.1 MB " [Timeout remaining time 645] (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: 16.68825992802158] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.511657333001494 14.521831977 14.232423477 Calling exit ...