Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_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.004755/0.004755, allocations: 100.9 kB / 21.96 MB, free: 5.211 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.001318/0.001318, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 47.92 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2429, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004809/0.2478, allocations: 4.181 MB / 401.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.2505, allocations: 1.237 MB / 402.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.2509, allocations: 16.75 kB / 402.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.2511, allocations: 115.2 kB / 402.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.2516, allocations: 248.9 kB / 402.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.2522, allocations: 303.1 kB / 403.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.2531, allocations: 1.042 MB / 404.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.2534, allocations: 199 kB / 404.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.2539, allocations: 426.2 kB / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.2543, allocations: 466 kB / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.2545, allocations: 88.44 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.2547, allocations: 112 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2549, allocations: 201.9 kB / 405.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.2553, allocations: 367.6 kB / 406.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2566, allocations: 1.007 MB / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2566, allocations: 0 / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2566, allocations: 0 / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.2566, allocations: 0 / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002688/0.2593, allocations: 1.168 MB / 408.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.2593, allocations: 13.58 kB / 408.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.762e-05/0.2594, allocations: 16.62 kB / 408.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.2595, allocations: 109.1 kB / 408.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2597, allocations: 89.8 kB / 408.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.2603, allocations: 402.4 kB / 408.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.2604, allocations: 46.44 kB / 408.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2605, allocations: 62.28 kB / 409 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2619, allocations: 0.7688 MB / 409.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2619, allocations: 4.5 kB / 409.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.262, allocations: 25.19 kB / 409.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.262, allocations: 15.19 kB / 409.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2636, allocations: 0.6775 MB / 410.5 MB, free: 1.035 MB / 318.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.003318/0.2669, allocations: 1.822 MB / 412.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.2683, allocations: 0.5509 MB / 412.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.2691, allocations: 316.1 kB / 413.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.2691, allocations: 14.33 kB / 413.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.2702, allocations: 0.5392 MB / 413.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/0.2702, allocations: 0 / 413.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07274/0.3429, allocations: 15.23 MB / 428.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.343, allocations: 149.5 kB / 429.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.3437, allocations: 494.9 kB / 429.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.344, allocations: 49.69 kB / 429.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.3443, allocations: 380.7 kB / 430 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.3446, allocations: 325.2 kB / 430.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003917/0.345, allocations: 178.6 kB / 430.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3452, allocations: 382.8 kB / 430.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.3472, allocations: 0.7782 MB / 431.6 MB, free: 216 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.3495, allocations: 1.056 MB / 432.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/0.3535, allocations: 1.662 MB / 434.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3535, allocations: 4 kB / 434.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02399/0.3775, allocations: 5.37 MB / 439.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.3776, allocations: 63.41 kB / 439.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3776, allocations: 8 kB / 439.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03496/0.4125, allocations: 6.821 MB / 446.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.4133, allocations: 143.7 kB / 446.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.4195, allocations: 3.024 MB / 449.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.4213, allocations: 175.9 kB / 450 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4215, allocations: 47.97 kB / 450 MB, free: 13.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0004542/0.4219, allocations: 221.6 kB / 450.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.4221, allocations: 83.47 kB / 450.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/0.4452, allocations: 5.06 MB / 455.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/0.4453, allocations: 12 kB / 455.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4453, allocations: 0 / 455.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.4453, allocations: 8.016 kB / 455.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.4469, allocations: 0.8419 MB / 456.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4469, allocations: 0 / 456.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.4474, allocations: 103.8 kB / 456.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03417/0.4816, allocations: 6.773 MB / 463.1 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.4818, allocations: 27.97 kB / 463.1 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/0.4877, allocations: 3.026 MB / 466.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4877, allocations: 4 kB / 466.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/0.5125, allocations: 5.944 MB / 472.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.5127, allocations: 71.5 kB / 472.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.5129, allocations: 23.94 kB / 472.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5143, allocations: 167.8 kB / 472.4 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.5146, allocations: 100.8 kB / 472.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/0.5147, allocations: 27.98 kB / 472.5 MB, free: 6.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.5151, allocations: 342.8 kB / 472.8 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5151, allocations: 0 / 472.8 MB, free: 6.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000776/0.5159, allocations: 260 kB / 473.1 MB, free: 6.293 MB / 382.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.02524/0.5411, allocations: 6.518 MB / 479.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005881/0.547, allocations: 2.016 MB / 481.6 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.547, allocations: 4.312 kB / 481.6 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.5505, allocations: 1.015 MB / 482.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/0.5513, allocations: 134 kB / 482.8 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05532/0.6066, allocations: 15.93 MB / 498.7 MB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.607, allocations: 352.9 kB / 499 MB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003555/0.6074, allocations: 50.08 kB / 499.1 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.6078, allocations: 267.3 kB / 499.3 MB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6078, allocations: 4 kB / 499.3 MB, free: 11.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.664, allocations: 26.29 MB / 0.5133 GB, free: 1.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.63, allocations: 4.062 kB / 0.5133 GB, free: 1.152 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0397062 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.880725934985094] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.815865623997524 14.831721279 14.571907118 Calling exit ...