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.001286/0.001286, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001437/0.001437, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.801 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="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 0.002018/0.002018, allocations: 51.91 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005813/0.265, allocations: 4.418 MB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2674, allocations: 1.256 MB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.2677, allocations: 15.94 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.268, allocations: 130.7 kB / 436.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.2685, allocations: 253.7 kB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.2691, allocations: 319.4 kB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.2703, allocations: 1.095 MB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2706, allocations: 192.7 kB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.2711, allocations: 430.5 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.2717, allocations: 486 kB / 439.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2718, allocations: 88 kB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.272, allocations: 112 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.2722, allocations: 203.3 kB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.2726, allocations: 378.3 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2737, allocations: 1.043 MB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2737, allocations: 0 / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2737, allocations: 0 / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.2737, allocations: 0 / 441.5 MB, free: 12.22 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.002417/0.2761, allocations: 1.213 MB / 442.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2761, allocations: 12.03 kB / 442.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.2763, allocations: 102.7 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2764, allocations: 100.3 kB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.2772, allocations: 430.1 kB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.2772, allocations: 49.69 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2773, allocations: 64.33 kB / 443.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2787, allocations: 0.7879 MB / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2788, allocations: 0 / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.2788, allocations: 24 kB / 444.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.2788, allocations: 16 kB / 444.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.2805, allocations: 0.6922 MB / 444.9 MB, free: 8.629 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.003687/0.2842, allocations: 1.881 MB / 446.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.2856, allocations: 0.5584 MB / 447.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.2863, allocations: 302 kB / 447.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.2864, allocations: 12.42 kB / 447.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.2874, allocations: 0.5448 MB / 448.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.695e-06/0.2874, allocations: 0 / 448.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06527/0.3526, allocations: 15.25 MB / 463.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.3528, allocations: 149.5 kB / 463.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.3535, allocations: 0.5263 MB / 464.2 MB, free: 5.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.3537, allocations: 41.7 kB / 464.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.354, allocations: 404.6 kB / 464.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.3543, allocations: 329.2 kB / 464.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.3547, allocations: 186.5 kB / 465.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3549, allocations: 394.6 kB / 465.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.3569, allocations: 0.7746 MB / 466.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.3591, allocations: 1.092 MB / 467.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.3632, allocations: 1.697 MB / 469 MB, free: 16 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3632, allocations: 8 kB / 469.1 MB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02226/0.3855, allocations: 5.397 MB / 474.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.3856, allocations: 63.53 kB / 474.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.3856, allocations: 11.98 kB / 474.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03256/0.4181, allocations: 6.845 MB / 481.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.4189, allocations: 155.7 kB / 481.5 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.4255, allocations: 3.15 MB / 484.7 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4271, allocations: 187.8 kB / 484.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4272, allocations: 55.91 kB / 484.9 MB, free: 24 kB / 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.0004418/0.4276, allocations: 225.7 kB / 485.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4278, allocations: 83.48 kB / 485.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02122/0.449, allocations: 5.072 MB / 490.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.449, allocations: 12 kB / 490.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.449, allocations: 0 / 490.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.4491, allocations: 3.984 kB / 490.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4505, allocations: 0.8538 MB / 491.1 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4505, allocations: 4 kB / 491.2 MB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.451, allocations: 95.88 kB / 491.2 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03179/0.4828, allocations: 6.781 MB / 498 MB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.483, allocations: 23.97 kB / 498.1 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005817/0.4888, allocations: 3.049 MB / 0.4894 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4888, allocations: 304 / 0.4894 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02345/0.5123, allocations: 5.96 MB / 0.4952 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.5125, allocations: 75.44 kB / 0.4952 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5127, allocations: 20 kB / 0.4953 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5139, allocations: 175.8 kB / 0.4954 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.5142, allocations: 96.83 kB / 0.4955 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.5143, allocations: 31.97 kB / 0.4956 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.5147, allocations: 358.8 kB / 0.4959 GB, free: 8.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5147, allocations: 0 / 0.4959 GB, free: 8.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007401/0.5154, allocations: 259.9 kB / 0.4961 GB, free: 8.703 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.02402/0.5395, allocations: 6.532 MB / 0.5025 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006691/0.5461, allocations: 2.157 MB / 0.5046 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5461, allocations: 384 / 0.5046 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.5495, allocations: 1.015 MB / 0.5056 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.5502, allocations: 141.7 kB / 0.5058 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05285/0.6031, allocations: 16.14 MB / 0.5215 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6034, allocations: 357.8 kB / 0.5219 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.6038, allocations: 54.27 kB / 0.5219 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.6041, allocations: 279.3 kB / 0.5222 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6041, allocations: 3.938 kB / 0.5222 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2475/0.8517, allocations: 27.3 MB / 0.5488 GB, free: 105.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.23, allocations: 14.09 kB / 0.5489 GB, free: 105.6 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396747 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: 16.641690665011993] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.354884255008074 14.371284555 14.094268694 Calling exit ...