Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 168.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008147, allocations: 90.58 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.167e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.248, allocations: 191.9 MB / 1.4 GB, free: 8.441 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000372/1.248, allocations: 94.61 kB / 1.4 GB, free: 8.391 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1164/1.365, allocations: 49.92 MB / 1.449 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.372e-06/1.365, allocations: 0 / 1.449 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.448e-05/1.365, allocations: 20 kB / 1.449 GB, free: 14.74 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002262/1.367, allocations: 0.9028 MB / 1.45 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.367, allocations: 8.031 kB / 1.45 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/1.368, allocations: 97.39 kB / 1.45 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/1.371, allocations: 0.6299 MB / 1.45 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.373, allocations: 0.5847 MB / 1.451 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/1.373, allocations: 49.11 kB / 1.451 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.373, allocations: 47.12 kB / 1.451 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.374, allocations: 0.861 MB / 1.452 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.375, allocations: 7.984 kB / 1.452 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/1.375, allocations: 24.67 kB / 1.452 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/1.375, allocations: 40.8 kB / 1.452 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.376, allocations: 0.73 MB / 1.453 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/1.381, allocations: 3.555 MB / 1.456 GB, free: 8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/1.382, allocations: 391.5 kB / 1.457 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.382, allocations: 182.5 kB / 1.457 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/1.382, allocations: 8.516 kB / 1.457 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.382, allocations: 37.88 kB / 1.457 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.445e-06/1.382, allocations: 0 / 1.457 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.004771/1.387, allocations: 1.598 MB / 1.458 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/1.387, allocations: 136.3 kB / 1.458 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/1.388, allocations: 0.4915 MB / 1.459 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/1.388, allocations: 40.39 kB / 1.459 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/1.388, allocations: 356.2 kB / 1.459 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.388, allocations: 147.9 kB / 1.459 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/1.388, allocations: 11.44 kB / 1.459 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.388, allocations: 373.1 kB / 1.46 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/1.389, allocations: 184.6 kB / 1.46 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/1.389, allocations: 324.2 kB / 1.46 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/1.389, allocations: 218.8 kB / 1.46 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.389, allocations: 4 kB / 1.46 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001545/1.391, allocations: 0.7856 MB / 1.461 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005231/1.391, allocations: 1.229 MB / 1.462 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.391, allocations: 8 kB / 1.462 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/1.392, allocations: 253.2 kB / 1.463 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/1.393, allocations: 131.7 kB / 1.463 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/1.398, allocations: 5.89 MB / 1.469 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/1.398, allocations: 63.39 kB / 1.469 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/1.398, allocations: 19.8 kB / 1.469 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.398, allocations: 4 kB / 1.469 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/1.4, allocations: 0.9022 MB / 1.47 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.4, allocations: 4 kB / 1.47 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/1.401, allocations: 206 kB / 1.47 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/1.401, allocations: 139.3 kB / 1.47 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/1.408, allocations: 8.093 MB / 1.478 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/1.409, allocations: 55.27 kB / 1.478 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/1.409, allocations: 27.44 kB / 1.478 GB, free: 2.262 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.409, allocations: 139.3 kB / 1.478 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.41, allocations: 71.16 kB / 1.478 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/1.41, allocations: 76.91 kB / 1.478 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.41, allocations: 4 kB / 1.478 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.41, allocations: 0 / 1.478 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.41, allocations: 7.922 kB / 1.478 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/1.411, allocations: 0.6507 MB / 1.479 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.411, allocations: 0 / 1.479 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/1.411, allocations: 95.86 kB / 1.479 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/1.412, allocations: 243.8 kB / 1.479 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/1.412, allocations: 10.88 kB / 1.479 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/1.418, allocations: 8.372 MB / 1.487 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.418, allocations: 0 / 1.487 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/1.42, allocations: 0.7709 MB / 1.488 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/1.42, allocations: 192.4 kB / 1.488 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.42, allocations: 6.812 kB / 1.488 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/1.421, allocations: 51.41 kB / 1.488 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.421, allocations: 47.69 kB / 1.488 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/1.421, allocations: 11.69 kB / 1.488 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005225/1.422, allocations: 392.4 kB / 1.489 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.01e-07/1.422, allocations: 0 / 1.489 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001186/1.423, allocations: 292.4 kB / 1.489 GB, free: 7.023 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/1.425, allocations: 1.357 MB / 1.49 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002627/1.427, allocations: 1.843 MB / 1.492 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.427, allocations: 3.938 kB / 1.492 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.428, allocations: 0.9331 MB / 1.493 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/1.429, allocations: 211.7 kB / 1.493 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/1.432, allocations: 1.051 MB / 1.494 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.432, allocations: 0.9922 MB / 1.495 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007896/1.433, allocations: 185.2 kB / 1.495 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/1.434, allocations: 237.2 kB / 1.496 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of SimCode: time 7.11e-07/1.434, allocations: 0 / 1.496 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/1.478, allocations: 18.9 MB / 1.514 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.478, allocations: 182.3 kB / 1.514 GB, free: 14 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/4.059, allocations: 3.938 kB / 1.514 GB, free: 14 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat does not exist to compare? outputFormat=mat