Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001875/0.001875, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002275/0.002275, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.059 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-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 68.75 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2784, allocations: 53.37 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006671/0.285, allocations: 4.989 MB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.2881, allocations: 1.299 MB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.2886, allocations: 15.94 kB / 438.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.2889, allocations: 122.7 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005594/0.2895, allocations: 261.7 kB / 438.6 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.2903, allocations: 311.5 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.2917, allocations: 1.091 MB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.292, allocations: 191 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.2927, allocations: 434.5 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.2934, allocations: 478 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2935, allocations: 92 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.2937, allocations: 112 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.2939, allocations: 203.3 kB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.2944, allocations: 453.8 kB / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2957, allocations: 1.043 MB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2957, allocations: 0 / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2957, allocations: 0 / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.2957, allocations: 0 / 443 MB, free: 11.77 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.003162/0.2989, allocations: 1.209 MB / 444.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.2989, allocations: 8.031 kB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.2991, allocations: 106.7 kB / 444.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2993, allocations: 100.3 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.3003, allocations: 430.1 kB / 444.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.3003, allocations: 49.69 kB / 444.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3005, allocations: 64.33 kB / 444.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.302, allocations: 0.6624 MB / 445.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.302, allocations: 0 / 445.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.3021, allocations: 24 kB / 445.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3021, allocations: 16 kB / 445.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.3038, allocations: 0.6999 MB / 446.3 MB, free: 8.328 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.004489/0.3083, allocations: 2.316 MB / 448.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.3097, allocations: 0.5649 MB / 449.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/0.3105, allocations: 317.9 kB / 449.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.3105, allocations: 4.438 kB / 449.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009904/0.3115, allocations: 433.4 kB / 449.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.294e-06/0.3115, allocations: 0 / 449.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07048/0.382, allocations: 15.24 MB / 465.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3821, allocations: 141.5 kB / 465.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.383, allocations: 0.5225 MB / 465.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.3833, allocations: 41.7 kB / 465.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.3837, allocations: 396.7 kB / 466.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.3841, allocations: 329.2 kB / 466.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.3845, allocations: 182.6 kB / 466.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3847, allocations: 394.7 kB / 467.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.3868, allocations: 0.7205 MB / 467.9 MB, free: 2.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.3891, allocations: 0.959 MB / 468.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004246/0.3933, allocations: 1.693 MB / 470.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3933, allocations: 4 kB / 470.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02362/0.417, allocations: 5.331 MB / 475.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/0.417, allocations: 71.34 kB / 475.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.417, allocations: 4 kB / 475.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03439/0.4514, allocations: 6.832 MB / 482.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.4522, allocations: 151.7 kB / 482.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.4589, allocations: 3.009 MB / 485.9 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.4606, allocations: 179.8 kB / 486.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4607, allocations: 51.91 kB / 486.2 MB, free: 15.89 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.0004791/0.4612, allocations: 229.7 kB / 486.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.4614, allocations: 83.48 kB / 486.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/0.4839, allocations: 5.064 MB / 491.5 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.4839, allocations: 12.25 kB / 491.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4839, allocations: 0 / 491.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/0.4839, allocations: 7.984 kB / 491.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.4858, allocations: 1.08 MB / 492.6 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4858, allocations: 0 / 492.6 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.4864, allocations: 95.89 kB / 492.7 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03322/0.5196, allocations: 6.773 MB / 499.5 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/0.5198, allocations: 27.97 kB / 499.5 MB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.526, allocations: 3.037 MB / 0.4908 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.526, allocations: 0 / 0.4908 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02408/0.5501, allocations: 5.944 MB / 0.4966 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.5503, allocations: 75.41 kB / 0.4967 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.5506, allocations: 27.86 kB / 0.4967 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.5519, allocations: 171.9 kB / 0.4968 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.5522, allocations: 96.83 kB / 0.4969 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5524, allocations: 31.97 kB / 0.497 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004792/0.5528, allocations: 354.8 kB / 0.4973 GB, free: 8.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5528, allocations: 0 / 0.4973 GB, free: 8.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008064/0.5536, allocations: 263.9 kB / 0.4976 GB, free: 8.371 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.02551/0.5791, allocations: 6.529 MB / 0.5039 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00651/0.5857, allocations: 1.966 MB / 0.5059 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5857, allocations: 0 / 0.5059 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.5894, allocations: 1.015 MB / 0.5068 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.5902, allocations: 122.5 kB / 0.507 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05784/0.648, allocations: 15.9 MB / 0.5225 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.6487, allocations: 0.9429 MB / 0.5234 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.649, allocations: 66.2 kB / 0.5235 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.6494, allocations: 279.3 kB / 0.5237 GB, free: 13.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.813e-06/0.6494, allocations: 4 kB / 0.5237 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.9263, allocations: 31.16 MB / 0.5542 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.6, allocations: 7.109 kB / 0.5542 GB, free: 100.6 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.956604825798422] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.712825203780085 14.727714476 14.428440857 Calling exit ...