Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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.0008563/0.0008563, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008574/0.0008574, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9077/0.9077, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.24e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.003949/0.003972, allocations: 4.43 MB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005975, allocations: 1.26 MB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.006298, allocations: 15.94 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.006532, allocations: 122.7 kB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.006913, allocations: 281.4 kB / 330.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006695/0.007583, allocations: 315.4 kB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008618/0.008444, allocations: 1.137 MB / 332.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.008704, allocations: 175 kB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.009317, allocations: 0.612 MB / 332.9 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.00966, allocations: 359 kB / 333.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.009752, allocations: 92 kB / 333.3 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.009896, allocations: 119.9 kB / 333.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.01, allocations: 199.2 kB / 333.6 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.01022, allocations: 323.2 kB / 333.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007592/0.01098, allocations: 1.079 MB / 335 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01098, allocations: 4 kB / 335 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01099, allocations: 0 / 335 MB, free: 5.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.011, allocations: 0 / 335 MB, free: 5.332 MB / 298.7 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.00168/0.01268, allocations: 1.202 MB / 336.2 MB, free: 4.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.01272, allocations: 15.98 kB / 336.2 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.01282, allocations: 102.7 kB / 336.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.01294, allocations: 104.3 kB / 336.4 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.01347, allocations: 425.4 kB / 336.9 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.0135, allocations: 49.62 kB / 336.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.01357, allocations: 68.33 kB / 337 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.01445, allocations: 0.7728 MB / 337.7 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01446, allocations: 4.188 kB / 337.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.01451, allocations: 28.12 kB / 337.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01452, allocations: 20 kB / 337.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.01547, allocations: 0.6921 MB / 338.5 MB, free: 1.742 MB / 298.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.002369/0.01784, allocations: 1.887 MB / 340.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008478/0.01869, allocations: 0.5592 MB / 340.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.01909, allocations: 322 kB / 341.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.01912, allocations: 4.5 kB / 341.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.01971, allocations: 0.5419 MB / 341.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.823e-06/0.01971, allocations: 0 / 341.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03268/0.05238, allocations: 15.23 MB / 357 MB, free: 14.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.05248, allocations: 149.5 kB / 357.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.05298, allocations: 0.5302 MB / 357.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.05313, allocations: 45.7 kB / 357.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.05337, allocations: 396.6 kB / 358.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.0536, allocations: 321.2 kB / 358.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.05386, allocations: 190.5 kB / 358.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.054, allocations: 382.8 kB / 359 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.05527, allocations: 0.7823 MB / 359.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.05661, allocations: 1.085 MB / 360.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.05903, allocations: 1.701 MB / 362.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.05904, allocations: 0 / 362.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01153/0.07057, allocations: 5.409 MB / 368 MB, free: 3.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.07065, allocations: 67.39 kB / 368.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.07067, allocations: 4 kB / 368.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/0.0869, allocations: 6.844 MB / 374.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.08732, allocations: 147.7 kB / 375 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.09143, allocations: 3.176 MB / 378.2 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.09232, allocations: 179.8 kB / 378.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.09239, allocations: 47.97 kB / 378.4 MB, free: 9.148 MB / 346.7 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.0003374/0.09273, allocations: 225.6 kB / 378.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.09285, allocations: 87.47 kB / 378.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.1037, allocations: 5.072 MB / 383.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.1038, allocations: 8 kB / 383.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1038, allocations: 4 kB / 383.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.1038, allocations: 7.984 kB / 383.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1048, allocations: 0.8512 MB / 384.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.1048, allocations: 0 / 384.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1051, allocations: 87.89 kB / 384.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.1211, allocations: 6.789 MB / 391.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.1213, allocations: 32.17 kB / 391.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.1248, allocations: 3.037 MB / 394.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1248, allocations: 0 / 394.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.1374, allocations: 5.968 MB / 400.6 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.1376, allocations: 67.52 kB / 400.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.1377, allocations: 23.94 kB / 400.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.1384, allocations: 163.8 kB / 400.8 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.1386, allocations: 108.8 kB / 401 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.1386, allocations: 35.97 kB / 401 MB, free: 2.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003173/0.139, allocations: 350.8 kB / 401.3 MB, free: 2.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.139, allocations: 0 / 401.3 MB, free: 2.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006055/0.1396, allocations: 264 kB / 401.6 MB, free: 1.816 MB / 362.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.0127/0.1523, allocations: 6.533 MB / 408.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.1563, allocations: 2.156 MB / 410.3 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.1563, allocations: 4 kB / 410.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.1583, allocations: 1.02 MB / 411.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.159, allocations: 130.4 kB / 411.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.1887, allocations: 16.13 MB / 427.6 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1889, allocations: 357.8 kB / 427.9 MB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.1892, allocations: 62.27 kB / 428 MB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.1894, allocations: 276.4 kB / 428.2 MB, free: 6.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1894, allocations: 0 / 428.2 MB, free: 6.684 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/0.3599, allocations: 27.06 MB / 455.3 MB, free: 124.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.62, allocations: 1.75 kB / 455.3 MB, free: 124.2 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.278271935880184] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.72081589512527 8.727528076 8.715080235 Calling exit ...