Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7023, allocations: 142.3 MB / 0.9536 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003159/0.7055, allocations: 2.86 MB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.7082, allocations: 1.963 MB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.7084, allocations: 12.25 kB / 0.9583 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.7086, allocations: 38.84 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.7091, allocations: 158.2 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.7098, allocations: 212.7 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.7101, allocations: 229.2 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.7105, allocations: 318.9 kB / 0.9592 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.7107, allocations: 110.4 kB / 0.9593 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.7109, allocations: 123.7 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.711, allocations: 12.38 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.7114, allocations: 262.2 kB / 0.9597 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.7115, allocations: 79.36 kB / 0.9598 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.7116, allocations: 70.45 kB / 0.9599 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.712, allocations: 380.8 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.712, allocations: 0 / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.712, allocations: 0 / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.712, allocations: 0 / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008702/0.7129, allocations: 0.5629 MB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.713, allocations: 9.469 kB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.713, allocations: 63.72 kB / 0.9608 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.7139, allocations: 129.5 kB / 0.961 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.7143, allocations: 274.1 kB / 0.9612 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.7143, allocations: 16.95 kB / 0.9612 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.7144, allocations: 25.98 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/0.7151, allocations: 419.2 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7151, allocations: 1.031 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.7152, allocations: 14.14 kB / 0.9617 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.7152, allocations: 32.14 kB / 0.9617 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.7159, allocations: 357 kB / 0.9621 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.718, allocations: 2.061 MB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.7188, allocations: 350 kB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.7189, allocations: 91.84 kB / 0.9645 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.7189, allocations: 39.75 kB / 0.9645 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.7189, allocations: 1.312 kB / 0.9645 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005603/0.7245, allocations: 1.771 MB / 0.9663 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.7246, allocations: 80.27 kB / 0.9663 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.7249, allocations: 233.8 kB / 0.9666 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.725, allocations: 31.73 kB / 0.9666 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.7251, allocations: 186.2 kB / 0.9668 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.7252, allocations: 116.8 kB / 0.9669 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.7252, allocations: 9.781 kB / 0.9669 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7254, allocations: 338 kB / 0.9672 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.7258, allocations: 199.3 kB / 0.9674 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.7263, allocations: 316.7 kB / 0.9677 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.7269, allocations: 252.9 kB / 0.9679 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7269, allocations: 0.875 kB / 0.9679 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001405/0.7283, allocations: 0.6824 MB / 0.9686 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005273/0.7288, allocations: 1.137 MB / 0.9697 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7288, allocations: 2.812 kB / 0.9697 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.7294, allocations: 144.5 kB / 0.9699 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.7298, allocations: 100.7 kB / 0.97 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.7329, allocations: 3.98 MB / 0.9738 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.7334, allocations: 37.38 kB / 0.9739 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.7334, allocations: 25.48 kB / 0.9739 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.7334, allocations: 6.734 kB / 0.9739 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/0.7348, allocations: 0.6313 MB / 0.9745 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7348, allocations: 2.094 kB / 0.9745 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.7352, allocations: 141.5 kB / 0.9747 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.7356, allocations: 100 kB / 0.9748 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.7363, allocations: 1.113 MB / 0.9758 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.7367, allocations: 40.53 kB / 0.9759 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.7367, allocations: 20.78 kB / 0.9759 GB, free: 6.004 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003484/0.7371, allocations: 251 kB / 0.9761 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.7372, allocations: 25.03 kB / 0.9762 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.7385, allocations: 0.6474 MB / 0.9768 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.7386, allocations: 3.938 kB / 0.9768 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7386, allocations: 1.781 kB / 0.9768 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.7386, allocations: 8.734 kB / 0.9768 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.7409, allocations: 1.223 MB / 0.978 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7409, allocations: 1.562 kB / 0.978 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.7412, allocations: 81.55 kB / 0.9781 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.7417, allocations: 151.5 kB / 0.9782 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.7417, allocations: 8.031 kB / 0.9782 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.7449, allocations: 3.992 MB / 0.9821 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7449, allocations: 2.656 kB / 0.9821 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.7464, allocations: 0.8919 MB / 0.983 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.7466, allocations: 143.8 kB / 0.9831 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.7467, allocations: 8.406 kB / 0.9832 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.747, allocations: 45.66 kB / 0.9832 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.7471, allocations: 26 kB / 0.9832 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.7472, allocations: 12.81 kB / 0.9832 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002197/0.7474, allocations: 166.2 kB / 0.9834 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7474, allocations: 0 / 0.9834 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008733/0.7483, allocations: 165.4 kB / 0.9836 GB, free: 15.35 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002011/0.7503, allocations: 2.03 MB / 0.9855 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.7525, allocations: 1.227 MB / 0.9867 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7525, allocations: 0 / 0.9867 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.7533, allocations: 0.491 MB / 0.9872 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.7538, allocations: 58.28 kB / 0.9873 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.7584, allocations: 4.079 MB / 0.9913 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.759, allocations: 0.8201 MB / 0.9921 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.7594, allocations: 110.9 kB / 0.9922 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.7595, allocations: 91.41 kB / 0.9922 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of SimCode: time 2.395e-06/0.7595, allocations: 0 / 0.9922 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.7828, allocations: 8.227 MB / 1 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.7831, allocations: 229 kB / 1 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.644, allocations: 2.391 kB / 1.001 GB, free: 14.41 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat