Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.001409/0.001409, allocations: 105.1 kB / 21.22 MB, free: 0.6211 MB / 14.72 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.001597/0.001597, allocations: 216.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 47.94 kB / 378.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2851, allocations: 53.37 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006133/0.2913, allocations: 4.431 MB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2939, allocations: 1.241 MB / 437.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.2942, allocations: 19.88 kB / 437.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.2945, allocations: 130.7 kB / 437.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.295, allocations: 257.7 kB / 438 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006845/0.2956, allocations: 311.5 kB / 438.3 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2967, allocations: 1.095 MB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.2971, allocations: 191 kB / 439.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.2976, allocations: 430.5 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.2981, allocations: 482 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.2982, allocations: 88 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2984, allocations: 120 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.2986, allocations: 203.3 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.299, allocations: 374.3 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3, allocations: 1.047 MB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.3001, allocations: 0 / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3001, allocations: 0 / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3001, allocations: 0 / 442.3 MB, free: 12.2 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.002423/0.3025, allocations: 1.209 MB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3025, allocations: 12.03 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.001e-05/0.3025, allocations: 17.5 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.3027, allocations: 106.7 kB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.3028, allocations: 100.3 kB / 443.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.3035, allocations: 426.1 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.3036, allocations: 49.69 kB / 444.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3037, allocations: 68.31 kB / 444.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3052, allocations: 0.7839 MB / 445 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3052, allocations: 0 / 445 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.3053, allocations: 27.98 kB / 445 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3053, allocations: 16 kB / 445.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.3069, allocations: 0.6922 MB / 445.7 MB, free: 8.59 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.003716/0.3107, allocations: 1.878 MB / 447.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3121, allocations: 0.5599 MB / 448.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.3128, allocations: 313.9 kB / 448.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.3128, allocations: 12.31 kB / 448.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.3138, allocations: 0.5449 MB / 449 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.194e-06/0.3138, allocations: 0 / 449 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07036/0.3842, allocations: 15.25 MB / 464.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3843, allocations: 141.5 kB / 464.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.3851, allocations: 0.5186 MB / 464.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.3853, allocations: 53.64 kB / 465 MB, free: 5.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.3857, allocations: 392.7 kB / 465.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.386, allocations: 333.2 kB / 465.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.3865, allocations: 186.6 kB / 465.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3867, allocations: 386.7 kB / 466.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.3888, allocations: 0.7824 MB / 467.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.391, allocations: 1.092 MB / 468.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.3951, allocations: 1.689 MB / 469.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3951, allocations: 4 kB / 469.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02425/0.4193, allocations: 5.401 MB / 475.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.4194, allocations: 75.52 kB / 475.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.4195, allocations: 4 kB / 475.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03462/0.4541, allocations: 6.841 MB / 482.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.4548, allocations: 151.7 kB / 482.3 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007046/0.4619, allocations: 3.161 MB / 485.5 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.4635, allocations: 175.8 kB / 485.6 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.4636, allocations: 51.97 kB / 485.7 MB, free: 0 / 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.0004663/0.4641, allocations: 225.7 kB / 485.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.4643, allocations: 87.47 kB / 486 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/0.4869, allocations: 5.083 MB / 491.1 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.487, allocations: 8 kB / 491.1 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.487, allocations: 3.938 kB / 491.1 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/0.487, allocations: 12.02 kB / 491.1 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4889, allocations: 0.8461 MB / 491.9 MB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4889, allocations: 0 / 491.9 MB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.4895, allocations: 87.89 kB / 492 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03507/0.5245, allocations: 6.785 MB / 498.8 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.5248, allocations: 23.98 kB / 498.8 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.531, allocations: 3.052 MB / 0.4901 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.531, allocations: 0.5 kB / 0.4901 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/0.5561, allocations: 5.96 MB / 0.496 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.5563, allocations: 71.47 kB / 0.496 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.5566, allocations: 20 kB / 0.496 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.5581, allocations: 175.8 kB / 0.4962 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5584, allocations: 100.8 kB / 0.4963 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.5586, allocations: 31.97 kB / 0.4963 GB, free: 9.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005208/0.5591, allocations: 354.8 kB / 0.4967 GB, free: 8.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5591, allocations: 0 / 0.4967 GB, free: 8.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008858/0.56, allocations: 263.9 kB / 0.4969 GB, free: 8.672 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.02653/0.5865, allocations: 6.536 MB / 0.5033 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007271/0.5938, allocations: 2.153 MB / 0.5054 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5938, allocations: 448 / 0.5054 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003597/0.5974, allocations: 1.022 MB / 0.5064 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.5982, allocations: 122.2 kB / 0.5065 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0586/0.6568, allocations: 16.15 MB / 0.5223 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.6573, allocations: 357.8 kB / 0.5226 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.6576, allocations: 58.27 kB / 0.5227 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.6581, allocations: 279.3 kB / 0.523 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6581, allocations: 0 / 0.523 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.9261, allocations: 26.7 MB / 0.549 GB, free: 105.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.16, allocations: 3.75 kB / 0.549 GB, free: 105.7 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.484102813061327] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 15.339650265057571 15.348467368 15.045878542 Calling exit ...