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.0008834/0.0008834, allocations: 79.7 kB / 20.67 MB, free: 3.875 MB / 18.57 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.0008168/0.0008168, allocations: 170 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8879/0.8879, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.459e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.003837/0.003851, allocations: 4.441 MB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.005536, allocations: 1.252 MB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.005746, allocations: 19.94 kB / 330.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.005955, allocations: 126.7 kB / 330.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.006242, allocations: 277.4 kB / 330.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.006716, allocations: 311.4 kB / 331 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.007398, allocations: 1.137 MB / 332.1 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.00765, allocations: 179 kB / 332.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.008407, allocations: 0.6041 MB / 332.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.00871, allocations: 367 kB / 333.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.008791, allocations: 92 kB / 333.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.008922, allocations: 115.9 kB / 333.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.009024, allocations: 199.3 kB / 333.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.009223, allocations: 323.2 kB / 334 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.009894, allocations: 1.083 MB / 335.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.009896, allocations: 0 / 335.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009897, allocations: 0 / 335.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.009905, allocations: 0 / 335.1 MB, free: 5.371 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.001389/0.01129, allocations: 1.198 MB / 336.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01133, allocations: 12.03 kB / 336.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.467e-05/0.01141, allocations: 114.7 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.01151, allocations: 96.33 kB / 336.5 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01196, allocations: 429.3 kB / 336.9 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.01198, allocations: 45.69 kB / 337 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.01206, allocations: 68.33 kB / 337 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/0.01286, allocations: 0.7845 MB / 337.8 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01288, allocations: 192 / 337.8 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.01292, allocations: 32.12 kB / 337.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01293, allocations: 16 kB / 337.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009214/0.01385, allocations: 0.696 MB / 338.5 MB, free: 1.77 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.002286/0.01614, allocations: 1.879 MB / 340.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.01694, allocations: 0.5592 MB / 341 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.01733, allocations: 310.1 kB / 341.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.01737, allocations: 12.5 kB / 341.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.01791, allocations: 0.538 MB / 341.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.402e-06/0.01791, allocations: 0 / 341.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03232/0.05023, allocations: 15.25 MB / 357.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.0503, allocations: 141.5 kB / 357.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.05072, allocations: 0.5302 MB / 357.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.0508, allocations: 45.7 kB / 357.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.05101, allocations: 400.6 kB / 358.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.05121, allocations: 325.2 kB / 358.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.05144, allocations: 186.5 kB / 358.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.05157, allocations: 386.8 kB / 359.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.05275, allocations: 0.7785 MB / 359.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.05397, allocations: 1.081 MB / 360.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.05644, allocations: 1.697 MB / 362.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.05644, allocations: 4 kB / 362.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01086/0.0673, allocations: 5.401 MB / 368 MB, free: 3.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.06735, allocations: 67.39 kB / 368.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.06736, allocations: 12.12 kB / 368.1 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/0.08303, allocations: 6.844 MB / 375 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.08337, allocations: 147.7 kB / 375.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.0873, allocations: 3.165 MB / 378.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/0.08805, allocations: 179.9 kB / 378.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.08811, allocations: 55.94 kB / 378.5 MB, free: 9.188 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.0002951/0.08841, allocations: 237.6 kB / 378.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.0885, allocations: 83.48 kB / 378.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.09914, allocations: 5.076 MB / 383.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.09914, allocations: 8 kB / 383.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.09915, allocations: 0 / 383.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.09916, allocations: 7.969 kB / 383.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007844/0.09994, allocations: 0.8512 MB / 384.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.09995, allocations: 0 / 384.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1002, allocations: 95.88 kB / 384.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01572/0.1159, allocations: 6.789 MB / 391.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.116, allocations: 19.98 kB / 391.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.1194, allocations: 3.033 MB / 394.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1194, allocations: 0 / 394.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.1317, allocations: 5.96 MB / 400.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1318, allocations: 71.5 kB / 400.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.1319, allocations: 23.94 kB / 400.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.1325, allocations: 171.8 kB / 400.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.1327, allocations: 96.83 kB / 401 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.1327, allocations: 35.97 kB / 401 MB, free: 2.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002649/0.133, allocations: 354.8 kB / 401.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.133, allocations: 0 / 401.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.1335, allocations: 256 kB / 401.6 MB, free: 1.871 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.01231/0.1458, allocations: 6.548 MB / 408.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.1494, allocations: 2.161 MB / 410.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1494, allocations: 0 / 410.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.1511, allocations: 1.023 MB / 411.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.1516, allocations: 122.2 kB / 411.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.1788, allocations: 16.13 MB / 427.6 MB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.179, allocations: 353.8 kB / 428 MB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.1792, allocations: 58.27 kB / 428 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.1794, allocations: 284.4 kB / 428.3 MB, free: 6.723 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1794, allocations: 0 / 428.3 MB, free: 6.723 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/0.3433, allocations: 27.08 MB / 455.4 MB, free: 124.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.65, allocations: 7.828 kB / 455.4 MB, free: 124.2 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.27174605987966] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.750451835803688 8.757544226 8.746113647 Calling exit ...