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.001858/0.001858, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002296/0.002296, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.504/1.504, allocations: 230.5 MB / 258.2 MB, free: 7.824 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.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.81 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2866, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006077/0.2926, allocations: 4.431 MB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2951, allocations: 1.241 MB / 437.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.2954, allocations: 15.88 kB / 437.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.2957, allocations: 126.7 kB / 437.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.2962, allocations: 261.6 kB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.2968, allocations: 311.5 kB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2978, allocations: 1.103 MB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.2982, allocations: 187 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.2986, allocations: 430.5 kB / 440 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.2991, allocations: 478 kB / 440.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.2993, allocations: 88 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2995, allocations: 116 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2997, allocations: 203.3 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.3, allocations: 386.2 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3011, allocations: 1.039 MB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3011, allocations: 0 / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3011, allocations: 0 / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3011, allocations: 4 kB / 442.3 MB, free: 12.04 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.00248/0.3036, allocations: 1.202 MB / 443.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3036, allocations: 11.97 kB / 443.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.488e-05/0.3036, allocations: 17.5 kB / 443.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.3038, allocations: 106.7 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.3039, allocations: 100.3 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.3047, allocations: 430.1 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3047, allocations: 57.62 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3048, allocations: 64.33 kB / 444.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3063, allocations: 0.7839 MB / 445 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3063, allocations: 0 / 445 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.3064, allocations: 27.94 kB / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3064, allocations: 16 kB / 445.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.3081, allocations: 0.6961 MB / 445.8 MB, free: 8.418 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.003674/0.3118, allocations: 1.885 MB / 447.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3132, allocations: 0.5565 MB / 448.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.3139, allocations: 314.6 kB / 448.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.3139, allocations: 8.438 kB / 448.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.3149, allocations: 0.541 MB / 449.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.894e-06/0.3149, allocations: 0 / 449.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.08773/0.4027, allocations: 15.25 MB / 464.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.4028, allocations: 149.5 kB / 464.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.4036, allocations: 0.5225 MB / 465 MB, free: 4.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.4038, allocations: 41.7 kB / 465 MB, free: 4.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.4042, allocations: 400.7 kB / 465.4 MB, free: 4.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.4046, allocations: 329.2 kB / 465.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.4051, allocations: 186.6 kB / 465.9 MB, free: 3.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.4053, allocations: 386.7 kB / 466.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.4075, allocations: 0.7746 MB / 467.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.4099, allocations: 1.093 MB / 468.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/0.414, allocations: 1.693 MB / 469.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.414, allocations: 0 / 469.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02326/0.4373, allocations: 5.405 MB / 475.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.4374, allocations: 71.39 kB / 475.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4374, allocations: 7.938 kB / 475.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03488/0.4723, allocations: 6.844 MB / 482.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.4732, allocations: 151.7 kB / 482.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/0.481, allocations: 3.153 MB / 485.5 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.4829, allocations: 187.7 kB / 485.7 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.4831, allocations: 51.97 kB / 485.7 MB, free: 15.83 MB / 398.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.0006401/0.4837, allocations: 221.7 kB / 486 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.484, allocations: 87.42 kB / 486 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/0.5073, allocations: 5.072 MB / 491.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.5073, allocations: 8 kB / 491.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5073, allocations: 4 kB / 491.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.5074, allocations: 8.016 kB / 491.1 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.509, allocations: 0.8541 MB / 492 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.509, allocations: 0 / 492 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.5096, allocations: 99.81 kB / 492.1 MB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03475/0.5444, allocations: 6.785 MB / 498.9 MB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/0.5447, allocations: 27.97 kB / 498.9 MB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.5512, allocations: 3.049 MB / 0.4902 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5512, allocations: 0 / 0.4902 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/0.577, allocations: 5.956 MB / 0.496 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5772, allocations: 75.45 kB / 0.4961 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.5775, allocations: 20 kB / 0.4961 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.579, allocations: 167.8 kB / 0.4962 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.5793, allocations: 100.8 kB / 0.4963 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5795, allocations: 31.97 kB / 0.4964 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005491/0.58, allocations: 350.8 kB / 0.4967 GB, free: 8.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.58, allocations: 4 kB / 0.4967 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008763/0.5809, allocations: 259.9 kB / 0.497 GB, free: 8.512 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.02636/0.6073, allocations: 6.54 MB / 0.5033 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00731/0.6146, allocations: 2.149 MB / 0.5054 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.6146, allocations: 4 kB / 0.5054 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.6182, allocations: 1.015 MB / 0.5064 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.619, allocations: 145.7 kB / 0.5066 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05746/0.6765, allocations: 16.13 MB / 0.5223 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.677, allocations: 357.8 kB / 0.5227 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.6774, allocations: 62.27 kB / 0.5227 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.6779, allocations: 275.3 kB / 0.523 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6779, allocations: 0 / 0.523 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2635/0.9414, allocations: 26.69 MB / 0.5491 GB, free: 105.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.38, allocations: 4.812 kB / 0.5491 GB, free: 105.8 MB / 446.1 MB " [Timeout remaining time 644] (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: 17.972242976073176] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 15.568980835028924 15.586139822 15.28145658 Calling exit ...